A town Y is 299 km from town X in a direction of 040°.How far is Y east of X?

Draw the diagram!

299 sin40°