Apply the trigonometric function:
Tan a = opposite side / adjacent side
Where:
a = angle = 7°
opposite side = 210
adjacent side = x
Replacing:
Tan 7 = 210/x
x =210/tan 7
x= 1,710.31 feet
The distance from the boat to the foot of the lighthouse is 1,710.31 feet