A girl walks 45 metres in the direction of 050° from a point Q to a point X. She then walks 24 metres in the direction of 140° from X to a point Y. How far is she from Q?