A boat is crossing a river in which the water is moving at a speed of from left to right.
In still water, the speed of the boat is . The boat is directed at an angle to a line perpendicular to the river banks. The resultant velocity of the boat is in a direction perpendicular to the river banks. What are the values of and ?