Depending on what type of triangle it is, for a right triangle you would use sin inverse=(opposite/hypotenuse), cos inverse=(adjacent/hypotenuse), or tan inverse=(opposite/adjacent). For any other triangle you would refer to the Law of sines where side a/sine of angle A=side b/sine of angle B and same goes for C
Substitute and . Then the integral transforms to
Apply the power rule.
Now put the result back in terms of .
So plug in the number of passengers into each equation and see which answer matches Layton's. then from all the answers you find from plugging in the number of passengers, choose the cheapest one for B