Let's break it down into parts.
So we know that the bicyclist goes between two points, A and B.
Going to the city, the bicyclist starts at point A, ends at point B, and travels 78 miles.
Going from the city to back home, the bicyclist goes from point B to point A and travels back 78 miles.
We know that it takes a time tA for the bicyclist to make the trip to the city, and it takes a time tB for the bicyclist to return back home. The total time to go from the city to back home is the sum of these two times. That's our first equation:
tA + tB = 19 (Equation 1)
Now, we know that the bicyclist goes to the city at a speed vA. When the bicyclist goes back home, they go at a speed vB. We also know that going back home, the speed of the bicyclist is 7 miles per hour less than the speed taken when they went to the city. That will be our second equation:
vB = vA - 7 (Equation 2)
Finally, the general way to calculate distance is by finding the product of speed and time. In general, the equation is:
d = v * t (Equation 3)
where d is our distance in miles, v is our speed in mph, and t is our time in hours.
We can use this to our advantage. The distance doesn't change for our trips: we go 78 miles into the city, and 78 miles back home. If we isolate time in the equation above, we can use that information for our other two equations:
tA = 78 / vA (Equation 4)
tB = 78 / vB
tB = 78 / (vA - 7) (Equation 5)
Try taking equations 4 and 5 and substituting them into equation 1. You will need to simplify the fractions and use the quadratic formula to find vA. Once you have vA, see which answer from the quadratic formula will give you the right times for tA and tB to add up to 19 which will also allow you to determine vB.
Don't give up, you got this!