A ship sails x km due east to a point E and continues x km…