From her house, Mary travels to New York at an average rate of 50 miles per
hour and then returns home at an average rate of 32 mph. After taking 2
hours longer on the return trip than the time it took her to get to New York,she finds that she still has 17 miles to go before she arrives home.

How many miles is it from New York to Mary’s house?

~Is there some kind of a equation to solve this problem or a method? Please help?