Martin's school is due west of his house and due south of his friend Hayley's house. The distance between the school and Hayley's house is 12 kilometers and the straight-line distance between Martin's house and Hayley's house is 13 kilometers. How far is Martin's house from school?