Question 140·Medium·Linear Equations in Two Variables
On a long bike ride, Alex pedaled at an average speed of 12 miles per hour for hours on flat terrain and then at 8 miles per hour for hours on a hilly section.
If the total distance traveled was 76 miles and , what is the value of ?
(Express the answer as an integer)
For rate-and-distance word problems, always start by writing distance = rate × time for each segment of the trip. Turn the words into algebraic expressions (like 12x and 8y), then add them to match the given total distance. Once you have a single equation, substitute any known values (such as y = 2) and solve the resulting linear equation carefully, watching your arithmetic when isolating the variable.
Hints
Write expressions for each distance
Use distance = rate × time. What expression represents the distance traveled on the flat part? What expression represents the distance on the hilly part?
Use the total distance
Add the two distance expressions together and set their sum equal to 76 miles, since that is the total distance traveled.
Substitute the known time on hills
You know . Substitute this into your equation so that only is left, then solve the resulting one-variable equation.
Desmos Guide
Enter the equation in Desmos
In a new expression line, type 12x + 8*2 = 76. This represents the total distance equation after substituting .
Find the x-value that satisfies the equation
Desmos will show a solution for (either as text under the expression or by allowing you to tap the equation). The displayed value of is the number of hours Alex rode on flat terrain.
Step-by-step Explanation
Translate the word problem into an equation
Use distance = rate × time for each part of the trip.
- On flat terrain: rate = 12 miles per hour, time = hours, so distance on flat = miles.
- On hilly terrain: rate = 8 miles per hour, time = hours, so distance on hills = miles.
The total distance is the sum of these two distances:
Substitute the given value of y
You are told that hours on the hilly section.
Substitute into the equation:
Simplify :
Solve the linear equation for x
Solve step by step.
First subtract 16 from both sides:
Now divide both sides by 12:
So the value of is 5.