Related rates - a piston turns a wheel.

A piston P turns a wheel. Here, r is the radius of the wheel, l is the length of the rod, and s is speed at which the wheel rotates clockwise.