The bearing of a school library from a sick bay is 310 .from the commandant's office,317m due east of the sick bay,the bearing of the school library is 288.How far is the library from the sickbay

using the law of sines,

x/sin18° = 317/sin(180-18-140)°
x = 261.5 m