This is a bit oddly worded, I think. What does "peak to eave" mean?
I would think that to be the diagonal measurement - actually crawl up on the roof and measure the distance down the roof. If this is correct, then this is not a very interesting problem. Measure 7m (or 6m) and you are done.
As that version does not result in the student having to know anything, I'm leaning strongly to the horizontal measurement from directly below the peak out to the eaves. In this case, the student would have to recognize a Right Triangle and know the Pythagorean Theorem. 7m x 3m ==>
This is an excellent example where putting the post in the right category might help someone understand the question. Also, showing some work or at the very least indicating what book or section is being studied might be of some assistance. Otherwise, one is just guessing at what is wanted or needed.