Help me please, I’m struggling

Answer:
It will be 25ft
Step-by-step explanation:
Since he needs the wheelchair ramp to be close so the chair won't actually fall off the ramp, it needs to be close to the porch but the ramp will also be tall so it would be better to do it than a long distance however, it still matters if it's close otherwise it wouldn't work. I did the math on my calculator and I thought I'd explain my thought process to you while doing it.