The angle between the lines of sight from a lighthouse to a tugboat and to a cargo ship is 27°. The angle between the lines of sight at the cargo ship is twice the angle between the lines of sight at the tugboat. What are the angles at the tugboat and at the cargo ship?