Okay, here we have this:
We need to calculate the distance from Amy's house to school represented by the line from K to M in the figure, so we are going to use the cosine law, we obtain the following:

Finally we obtain that the distance, to the nearest meter, from Amy's house to school represented by the line from K to M in the figure is 4492 meters.