Say the speed of the wind is V (in mph). If the cyclist's speed without the wind is v (in mph), then we know that the cyclist's speed with the wind is v + V and against it is v - V. So

and

Solving the bottom equation for V:

and inserting this value of V into the top equation:

-Dan