Ok Connie I'm going to need you to start showing some work on these first.
You need to assume that the uphill distance is the same as the downhill distance.
romsek is right - you need to show some of your own work. But I'll get you started. Start by letting x be the uphill (and downhill) distance and d be the total distance.