Answer:
Step-by-step explanation:
Given
height of bridge is

First Boat is at an angle of
w.r.t to x axis
Second boat is at an angle of
w.r.t to x axis
from Diagram
In triangle ABO


In triangle ACO

where
and
are the distance of boat from origin O
Position vector of boat 1 w.r.t origin is

Position vector of boat 2 w.r.t origin is

Position of



Distance between them is

