Suppose the roof is X meters high.
Therefore the first bounce was 70% of X or .7X meters
Therefore the second bounce was 70% of .7X or .7(.7X) or .49X meters
Therefore the third bounce was 70% of .49X or .7(.49X) or .343X meters
So we set .343X meters = to 10.29 meters:
Edwin