In triangle IAR, IF is the altitude so, it will be perpendicular the side AR.
∴ ∠IFR = 90°.
Now, from △IFA, using Pythagorean theorem:
IA2=IF2+AF2⇒252=152+AF2⇒AF2=625−225=400⇒AF=20 ft [1.5]
From △IFR, using Pythagorean theorem:
IR2=IF2+FR2⇒172=152+FR2⇒FR2=289−225=64⇒FR=8 ft [1.5]
Hence, AR=AF+FR=20+8=28 ft [1]