Algebra
posted by Samantha on .
Sorry for asking another question, but I don't know how to set this problem up.
Ship A is due west of a lighthouse. Ship B is 12 km south of ship A. From ship B the bearing to the lighthouse is N63E. How far is ship A from the lighthouse?

tan 63ยบ = x/12
solve for x