Now this question is a candidate for the Pythagorean Theorem :
According to the question (assuming that you're x miles away from your house) --
[tex]\implies{7}^{2} + {24}^{2} = {x}^{2} \\\implies625 = {x}^{2} \\\implies x = \sqrt{625} \\ \boxed{x = 25} [/tex]
(Rejecting x= - 25 because distance cannot be negative(atleast hypothetically))