Algebra 1Expressions and Equations2 of 5
Expressions and Equations · 2

Solving Multi-Step Equations

We want to find the unknown number x\unknown{x} in an equation when several operations have been built up around it.

1

Unwrapping a Two-Step Equation

Solve 3x+5\displaystyle \text{Solve } \unknown{3x} + 5 =20\displaystyle = 20

In a two-step equation, the unknown number x\unknown{x} is multiplied by a number, and then a plain number is added or subtracted on the outside.

x\htmlClass{lc-blue}{x}
3\htmlClass{lc-blue}{3}
+5+ 5
inside first: ×3\text{inside first: }\htmlClass{lc-violet}{\times 3}
outside last: +5\text{outside last: }\htmlClass{lc-violet}{+ 5}
Unwrapping a Two-Step Equation
3x+5=20x=  ?\displaystyle \begin{aligned}\unknown{3x} + 5 &= 20\\[6pt]\unknown{x} &= \;?\end{aligned}
Text solution
Subtract 5\operation{5} from both sidesUndo the outer +5\operation{+ 5} layer first, doing the exact same thing to both sides of the equals sign so the equation stays balanced.
3x\displaystyle \unknown{3x} =15\displaystyle = 15
Divide both sides by 3\operation{3}Undo the inner multiplication by 3\operation{3} so x\unknown{x} is by itself.
x\displaystyle \unknown{x} =5\displaystyle = 5
2

Combining Like Terms on One Side

Combining like terms first gives us a single x\unknown{x}-term to work with.

Solve 2x+4+3x−1\displaystyle \text{Solve } \unknown{2x} + 4 + \unknown{3x} - 1 =18\displaystyle = 18
Combining Like Terms on One Side
2x+4+3x−1=18x=  ?\displaystyle \begin{aligned}\unknown{2x} + 4 + \unknown{3x} - 1 &= 18\\[6pt]\unknown{x} &= \;?\end{aligned}
Text solution
Combine 2x+3x\unknown{2x} + \unknown{3x} and 4−14 - 1 on the left sideAdding the x\unknown{x}-terms together and the plain numbers together cleans up the left side without changing its value.
5x+3\displaystyle \unknown{5x} + 3 =18\displaystyle = 18
Subtract 3\operation{3} from both sides, then divide by 5\operation{5}Now that x\unknown{x} is in a single spot, unwrap the two-step equation from the outside in.
5x=15x=3\displaystyle \begin{aligned} \unknown{5x} &= 15 \\ \unknown{x} &= 3 \end{aligned}

When you combine terms on the same side of the equals sign, their signs stay as they are because the total on that side of the scale does not change. When you move a term across the equals sign, you do the opposite operation to both sides to keep the scale balanced.

Grouping terms on the same side keeps their signs, while crossing the equals line flips the sign to keep both sides balanced.
3

Unpacking Parentheses

Distribute the multiplier outside the parentheses before combining the resulting x\unknown{x}-term with terms outside.

Solve 3(x+2)+4x\displaystyle \text{Solve } \operation{3}(\unknown{x} + 2) + \unknown{4x} =27\displaystyle = 27
Unpacking Parentheses
3(x+2)+4x=27x=  ?\displaystyle \begin{aligned}\operation{3}(\unknown{x} + 2) + \unknown{4x} &= 27\\[6pt]\unknown{x} &= \;?\end{aligned}
Text solution
Distribute 3\operation{3} across (x+2)(\unknown{x} + 2)Three copies of x+2\unknown{x} + 2 unpack into 3x\unknown{3x} and 66, so the terms are no longer trapped inside the parentheses.
3x+6+4x\displaystyle \unknown{3x} + 6 + \unknown{4x} =27\displaystyle = 27
Combine 3x\unknown{3x} and 4x\unknown{4x} on the left sideAdd the x\unknown{x}-terms on the left side so x\unknown{x} is in one place.
7x+6\displaystyle \unknown{7x} + 6 =27\displaystyle = 27
Subtract 6\operation{6} from both sides, then divide by 7\operation{7}Unwrap the outer +6\operation{+ 6} and the inner multiplication by 7\operation{7}.
7x=21x=3\displaystyle \begin{aligned} \unknown{7x} &= 21 \\ \unknown{x} &= 3 \end{aligned}
Now a subtracted group in parentheses:
Solve 10−2(x+3)\displaystyle \text{Solve } 10 \operation{- 2}(\unknown{x} + 3) =4\displaystyle = 4
Distribute −2\operation{-2} across (x+3)(\unknown{x} + 3)Treat the minus sign as glued to the 2\operation{2}, so taking away two copies of x+3\unknown{x} + 3 subtracts both 2x\unknown{2x} and 66.
10−2x−6\displaystyle 10 \unknown{- 2x} - 6 =4\displaystyle = 4
Combine 10−610 - 6, subtract 4\operation{4} from both sides, and divide by −2\operation{-2}Combine the plain numbers on the left before unwrapping −2x\unknown{-2x}.
4−2x=4−2x=0x=0\displaystyle \begin{aligned} 4 \unknown{- 2x} &= 4 \\ \unknown{-2x} &= 0 \\ \unknown{x} &= 0 \end{aligned}

In 10−2(x+3)=410 \operation{- 2}(\unknown{x} + 3) = 4, the −2\operation{-2} multiplies the whole (x+3)(\unknown{x} + 3) group. Distributing gives 10−2x−6=410 \unknown{- 2x} - 6 = 4, where 1010 can combine with −6-6.

A number multiplying parentheses multiplies the whole group. Distribute it to every term inside before combining the resulting terms with like terms outside.
4

A Shortcut for Parentheses

When nothing else is added or subtracted outside the parentheses on that side, the outside multiplier is already the outermost layer.

Solve 3(x+2)\displaystyle \text{Solve } \operation{3}(\unknown{x} + 2) =15\displaystyle = 15
A Shortcut for Parentheses
3(x+2)=15x=  ?\displaystyle \begin{aligned}\operation{3}(\unknown{x} + 2) &= 15\\[6pt]\unknown{x} &= \;?\end{aligned}
Text solution
Divide both sides by 3\operation{3}Because the entire left side is 3\operation{3} times (x+2)(\unknown{x} + 2), dividing by 3\operation{3} undoes the outside number in one step without distributing.
x+2\displaystyle \unknown{x} + 2 =5\displaystyle = 5
Subtract 2\operation{2} from both sidesUndo the +2\operation{+ 2} to get x\unknown{x} alone.
x\displaystyle \unknown{x} =3\displaystyle = 3
5

Putting It Together and Checking Your Answer

When an equation has several groups of parentheses, unpack the parentheses first, combine like terms on that side, and then unwrap the remaining two-step equation.

Solve 4(x−2)+2(x+1)\displaystyle \text{Solve } \operation{4}(\unknown{x} - 2) + \operation{2}(\unknown{x} + 1) =30\displaystyle = 30
Putting It Together and Checking Your Answer
4(x−2)+2(x+1)=30x=  ?\displaystyle \begin{aligned}\operation{4}(\unknown{x} - 2) + \operation{2}(\unknown{x} + 1) &= 30\\[6pt]\unknown{x} &= \;?\end{aligned}
Text solution
Distribute 4\operation{4} across (x−2)(\unknown{x} - 2) and 2\operation{2} across (x+1)(\unknown{x} + 1)Multiply each outside number through its parentheses so all the terms can be combined.
4x−8+2x+2\displaystyle \unknown{4x} - 8 + \unknown{2x} + 2 =30\displaystyle = 30
Combine 4x+2x\unknown{4x} + \unknown{2x} and −8+2-8 + 2 on the left sideCombine like terms on the left side to get a single x\unknown{x}-term and a single number.
6x−6\displaystyle \unknown{6x} - 6 =30\displaystyle = 30
Add 6\operation{6} to both sides, then divide by 6\operation{6}Undo the subtraction first and the multiplication second.
6x=36x=6\displaystyle \begin{aligned} \unknown{6x} &= 36 \\ \unknown{x} &= 6 \end{aligned}
Plug x=6\unknown{x} = 6 back into the original left sidePutting your answer back into the starting equation checks that the left side really gives 3030:
4(6−2)+2(6+1)=4(4)+2(7)=16+14=30\displaystyle \begin{aligned} 4(\unknown{6} - 2) + 2(\unknown{6} + 1) &= 4(4) + 2(7) \\ &= 16 + 14 \\ &= 30 \end{aligned}
6

Clearing Fractions

Instead of finding common denominators to add fractions in an equation, we can clear all the fractions at once by multiplying both sides by a common multiple.

Solve 12x+3+23x\displaystyle \text{Solve } \unknown{\frac{1}{2}x} + 3 + \unknown{\frac{2}{3}x} =10\displaystyle = 10
Clearing Fractions
12x+3+23x=10x=  ?\displaystyle \begin{aligned}\unknown{\frac{1}{2}x} + 3 + \unknown{\frac{2}{3}x} &= 10\\[6pt]\unknown{x} &= \;?\end{aligned}
Text solution
Multiply every term on both sides by 6\operation{6}Both denominators (22 and 33) divide evenly into 6\operation{6}, so multiplying every single term, including the whole number 33, by 6\operation{6} clears all the fractions while keeping the equation balanced.
6×12x+6×3+6×23x=6×103x+18+4x=60\displaystyle \begin{aligned} \operation{6} \times \unknown{\frac{1}{2}x} + \operation{6} \times 3 + \operation{6} \times \unknown{\frac{2}{3}x} &= \operation{6} \times 10 \\ \unknown{3x} + 18 + \unknown{4x} &= 60 \end{aligned}
Combine 3x\unknown{3x} and 4x\unknown{4x} on the left sideAdd the x\unknown{x}-terms now that their coefficients are whole numbers.
7x+18\displaystyle \unknown{7x} + 18 =60\displaystyle = 60
Subtract 18\operation{18} from both sides, then divide by 7\operation{7}Unwrap the two-step equation.
7x=42x=6\displaystyle \begin{aligned} \unknown{7x} &= 42 \\ \unknown{x} &= 6 \end{aligned}

As we multiply both sides of 12x+3+23x=10\unknown{\frac{1}{2}x} + 3 + \unknown{\frac{2}{3}x} = 10 on the scale, 2\operation{2} copies turn the halves into whole x\unknown{x}-bars, 3\operation{3} copies turn the thirds into whole x\unknown{x}-bars, and 6\operation{6} copies clear both fractional coefficients (3x+18+4x=60\unknown{3x} + 18 + \unknown{4x} = 60).

Stacking 6 copies of both sides clears the halves and the thirds at once, and multiplies every other piece by 6 to keep the scale balanced.

When a fraction bar stretches under an expression like x+5\unknown{x} + 5, it groups the top together. In a single-fraction equation like x+53=4\frac{\unknown{x} + 5}{3} = 4, multiplying both sides by 3\operation{3} undoes the division right away to leave x+5=12\unknown{x} + 5 = 12, so x=7\unknown{x} = 7.

When fraction bars like this appear in an equation with several terms, put parentheses around each numerator before clearing the fractions:

Solve x+42−x−13\displaystyle \text{Solve } \frac{\unknown{x} + 4}{2} - \frac{\unknown{x} - 1}{3} =3\displaystyle = 3

Wrap each numerator in parentheses and multiply every term by 6\operation{6}. Writing (x+4)(\unknown{x} + 4) and (x−1)(\unknown{x} - 1) in parentheses makes sure that after the denominator cancels, the remaining number multiplies the entire numerator.

6×(x+4)2−6×(x−1)3=6×33(x+4)−2(x−1)=18\displaystyle \begin{aligned} \operation{6} \times \frac{(\unknown{x} + 4)}{2} - \operation{6} \times \frac{(\unknown{x} - 1)}{3} &= \operation{6} \times 3 \\ \operation{3}(\unknown{x} + 4) \operation{- 2}(\unknown{x} - 1) &= 18 \end{aligned}

Distribute 3\operation{3} and −2\operation{-2} across the parentheses. Distributing −2\operation{-2} across (x−1)(\unknown{x} - 1) turns −2×(−1)\operation{-2} \times (-1) into +2+ 2.

3x+12−2x+2\displaystyle \unknown{3x} + 12 \unknown{- 2x} + 2 =18\displaystyle = 18

Combine like terms on the left side, then subtract 14\operation{14} from both sides. Combine 3x−2x\unknown{3x} \unknown{- 2x} into x\unknown{x} and 12+212 + 2 into 1414 before subtracting 14\operation{14}.

x+14=18x=4\displaystyle \begin{aligned} \unknown{x} + 14 &= 18 \\ \unknown{x} &= 4 \end{aligned}
7

Writing an Equation from a Word Problem

In a word problem, we build the equation piece by piece by writing what happened to the unknown number x\unknown{x} and setting it equal to the final total.

Problem: On Saturday, you work 44 hours at your normal hourly pay, plus you make $15\onetime{\$15} in tips. On Sunday, you work 33 hours at $2\hourly{\$2} more per hour than your normal rate. Your total pay for the weekend is $119\total{\$119}. What is your normal hourly pay?

Writing an Equation from a Word Problem
Saturday: 4 hours\text{Saturday: 4 hours}
+$15+ \htmlClass{lc-orange}{\$15}
tips\text{tips}
Sunday: 3 hours\text{Sunday: 3 hours}
+$2\htmlClass{lc-pink}{+\$2}
+$2\htmlClass{lc-pink}{+\$2}
+$2\htmlClass{lc-pink}{+\$2}
Total pay: $119\text{Total pay: }\htmlClass{lc-green}{\$119}
Normal hourly pay=  ?\text{Normal hourly pay} = \;?
Saturday\text{Saturday}
Sunday\text{Sunday}
x\htmlClass{lc-blue}{x}
x\htmlClass{lc-blue}{x}
x\htmlClass{lc-blue}{x}
x\htmlClass{lc-blue}{x}
++
15\htmlClass{lc-orange}{15}
x\htmlClass{lc-blue}{x}
+2\htmlClass{lc-pink}{+2}
x\htmlClass{lc-blue}{x}
+2\htmlClass{lc-pink}{+2}
x\htmlClass{lc-blue}{x}
+2\htmlClass{lc-pink}{+2}
4x+15\htmlClass{lc-blue}{4x} + \htmlClass{lc-orange}{15}
3(x+2)3(\htmlClass{lc-blue}{x} + \htmlClass{lc-pink}{2})
(one-time tip\text{(one-time tip}
outside)\text{outside)}
(hourly extra\text{(hourly extra}
inside)\text{inside)}
Text solution
Write each day's pay using x\unknown{x} for your normal hourly pay, and set the total equal to 119\total{119}Saturday's pay for 44 hours plus a one-time $15\onetime{\$15} tip is 4x+15\unknown{4x} + \onetime{15}, and Sunday's pay for 33 hours at x+2\unknown{x} + \hourly{2} dollars per hour is 3(x+2)3(\unknown{x} + \hourly{2}).
4x+15+3(x+2)\displaystyle \unknown{4x} + \onetime{15} + 3(\unknown{x} + \hourly{2}) =119\displaystyle = \total{119}
Distribute 33 across (x+2)(\unknown{x} + \hourly{2}), then combine like terms on the left sideUnpack Sunday's pay into 3x+6\unknown{3x} + \hourly{6} and add it to Saturday's pay.
4x+15+3x+6=1197x+21=119\displaystyle \begin{aligned} \unknown{4x} + \onetime{15} + \unknown{3x} + \hourly{6} &= \total{119} \\ \unknown{7x} + 21 &= \total{119} \end{aligned}
Subtract 21\operation{21} from both sides, then divide by 7\operation{7}Unwrap the remaining two-step equation.
7x=98x=14\displaystyle \begin{aligned} \unknown{7x} &= \total{98} \\ \unknown{x} &= 14 \end{aligned}

So your normal hourly pay is $14\$14 per hour.

Key concepts

For the equations in this lesson, simplify the side with x\unknown{x} until it has a single x\unknown{x}-term, then undo the remaining operations in reverse order. For 5x+3=18\unknown{5x} + 3 = 18, subtract 3\operation{3} before dividing by 5\operation{5}.

Fractions

Before combining terms, multiply every term on both sides (including plain whole numbers) by a number all denominators divide into evenly, such as multiplying every term in 12x+3+23x=10\unknown{\frac{1}{2}x} + 3 + \unknown{\frac{2}{3}x} = 10 by 6\operation{6} to get 3x+18+4x=60\unknown{3x} + 18 + \unknown{4x} = 60. If a fraction bar stretches under an expression like x−13\frac{\unknown{x} - 1}{3}, put parentheses around the numerator as (x−1)(\unknown{x} - 1) first so the whole top gets multiplied.

Parentheses

When there are extra terms outside the parentheses, as in 10−2(x+3)=410 \operation{- 2}(\unknown{x} + 3) = 4, unpack the parentheses first by distributing the outside number together with its sign (10−2x−6=410 \unknown{- 2x} - 6 = 4). You can divide first if a single parentheses group is the entire side and the other side divides evenly. In 3(x+2)=15\operation{3}(\unknown{x} + 2) = 15, divide both sides by 3\operation{3} to get x+2=5\unknown{x} + 2 = 5.

Same side vs. across the equals sign

When combining like terms that are already on the same side, such as 2x+4+3x−1=18\unknown{2x} + 4 + \unknown{3x} - 1 = 18, keep their signs as they are to get 5x+3=18\unknown{5x} + 3 = 18. To undo an operation, apply the inverse operation to both sides.

Word problems

Put an extra amount that repeats every hour inside parentheses with x\unknown{x}, like 3(x+2)3(\unknown{x} + \hourly{2}), and keep a one-time amount outside, like 4x+15\unknown{4x} + \onetime{15}.

8

Practice

1

Solve 4(x−3)=204(\unknown{x} - 3) = 20.

There are no extra terms outside the parentheses on the left side. What outer layer can you undo first?

Divide both sides by 4\operation{4}:
x−3\displaystyle \unknown{x} - 3 =5\displaystyle = 5
(If you distribute 4\operation{4} first instead, multiply both terms inside to get 4x−12=20\unknown{4x} - 12 = 20; forgetting to multiply −3-3 by 4\operation{4} gives 4x−3=20\unknown{4x} - 3 = 20 and leads to 234\frac{23}{4}.) Add 3\operation{3} to both sides (subtracting 33 from 55 instead of adding gives 22):
x\displaystyle \unknown{x} =8\displaystyle = 8
2

Solve 5x−2+3x+6=28\unknown{5x} - 2 + \unknown{3x} + 6 = 28.

Both 5x\unknown{5x} and 3x\unknown{3x} are already on the left side of the equals sign. Do you keep their signs or do the opposite?

Combine 5x+3x\unknown{5x} + \unknown{3x} and −2+6-2 + 6 on the left side (subtracting 3x\unknown{3x} from 5x\unknown{5x} as if crossing the equals sign gives 2x+4=28\unknown{2x} + 4 = 28 and leads to x=12\unknown{x} = 12):
8x+4\displaystyle \unknown{8x} + 4 =28\displaystyle = 28
Subtract 4\operation{4} from both sides, then divide by 8\operation{8}:
8x=24x=3\displaystyle \begin{aligned} \unknown{8x} &= 24 \\ \unknown{x} &= 3 \end{aligned}
3

Solve 14−3(x+2)=214 - 3(\unknown{x} + 2) = 2.

Look at the −3-3 in front of (x+2)(\unknown{x} + 2). What happens to the +2+ 2 inside when you distribute −3-3?

Distribute −3\operation{-3} across (x+2)(\unknown{x} + 2) (do not subtract 14−314 - 3 first, and watch the second sign: forgetting to distribute the minus sign to +2+ 2 gives 14−3x+6=214 \unknown{- 3x} + 6 = 2 and leads to x=6\unknown{x} = 6):
14−3x−6\displaystyle 14 \unknown{- 3x} - 6 =2\displaystyle = 2
Combine 14−614 - 6 on the left side:
8−3x\displaystyle 8 \unknown{- 3x} =2\displaystyle = 2
Subtract 8\operation{8} from both sides, then divide by −3\operation{-3}:
−3x=−6x=2\displaystyle \begin{aligned} \unknown{-3x} &= -6 \\ \unknown{x} &= 2 \end{aligned}
4

Solve 3(x+4)+2(x−1)=353(\unknown{x} + 4) + 2(\unknown{x} - 1) = 35.

Unpack both parentheses groups first so you can combine the x\unknown{x}-terms and plain numbers.

Distribute 3\operation{3} across (x+4)(\unknown{x} + 4) and 2\operation{2} across (x−1)(\unknown{x} - 1):
3x+12+2x−2\displaystyle \unknown{3x} + 12 + \unknown{2x} - 2 =35\displaystyle = 35
Combine 3x+2x\unknown{3x} + \unknown{2x} and 12−212 - 2 on the left side (adding 12+212 + 2 instead of subtracting 22 gives 5x+14=35\unknown{5x} + 14 = 35 and leads to 215\frac{21}{5}):
5x+10\displaystyle \unknown{5x} + 10 =35\displaystyle = 35
Subtract 10\operation{10} from both sides, then divide by 5\operation{5}:
5x=25x=5\displaystyle \begin{aligned} \unknown{5x} &= 25 \\ \unknown{x} &= 5 \end{aligned}
5

Solve 13x+2+12x=7\unknown{\frac{1}{3}x} + 2 + \unknown{\frac{1}{2}x} = 7.

What number do both denominators 33 and 22 divide into evenly, and which terms on the left side need to be multiplied by it?

Multiply every term on both sides by 6\operation{6} (forgetting to multiply the plain +2+ 2 in the middle by 6\operation{6} gives 2x+2+3x=42\unknown{2x} + 2 + \unknown{3x} = 42 and leads to x=8\unknown{x} = 8):
6×13x+6×2+6×12x=6×72x+12+3x=42\displaystyle \begin{aligned} \operation{6} \times \unknown{\frac{1}{3}x} + \operation{6} \times 2 + \operation{6} \times \unknown{\frac{1}{2}x} &= \operation{6} \times 7 \\ \unknown{2x} + 12 + \unknown{3x} &= 42 \end{aligned}
Combine 2x+3x\unknown{2x} + \unknown{3x}, subtract 12\operation{12} from both sides, and divide by 5\operation{5}:
5x+12=425x=30x=6\displaystyle \begin{aligned} \unknown{5x} + 12 &= 42 \\ \unknown{5x} &= 30 \\ \unknown{x} &= 6 \end{aligned}
6

Solve x+12−x−33=4\frac{\unknown{x} + 1}{2} - \frac{\unknown{x} - 3}{3} = 4.

Put parentheses around each numerator before multiplying every term by 66 so the minus sign between the fractions applies to the entire second numerator.

Wrap each numerator in parentheses and multiply every term by 6\operation{6}:
6×(x+1)2−6×(x−3)3=6×43(x+1)−2(x−3)=24\displaystyle \begin{aligned} \operation{6} \times \frac{(\unknown{x} + 1)}{2} - \operation{6} \times \frac{(\unknown{x} - 3)}{3} &= \operation{6} \times 4 \\ \operation{3}(\unknown{x} + 1) \operation{- 2}(\unknown{x} - 3) &= 24 \end{aligned}
Distribute 3\operation{3} and −2\operation{-2} across the parentheses (missing −2×(−3)=+6\operation{-2} \times (-3) = +6 and writing −6-6 instead gives 3x+3−2x−6=24\unknown{3x} + 3 \unknown{- 2x} - 6 = 24, which leads to x=27\unknown{x} = 27):
3x+3−2x+6\displaystyle \unknown{3x} + 3 \unknown{- 2x} + 6 =24\displaystyle = 24
Combine like terms on the left side, then subtract 9\operation{9} from both sides:
x+9=24x=15\displaystyle \begin{aligned} \unknown{x} + 9 &= 24 \\ \unknown{x} &= 15 \end{aligned}
7

On Monday, a tutor works 33 hours at her normal hourly pay plus a $10\$10 bonus. On Tuesday, she works 22 hours at $5\$5 more per hour than her normal rate. Her total pay for the two days is $100\$100. What is her normal hourly pay?

Calling normal hourly pay x\unknown{x}, which extra dollar amount stays outside as a one-time bonus and which goes inside parentheses with x\unknown{x}?

Write Monday's pay as 3x+10\unknown{3x} + \onetime{10} and Tuesday's pay as 2(x+5)2(\unknown{x} + \hourly{5}) (writing Tuesday's +$5\hourly{+\$5} per hour outside parentheses as 2x+5\unknown{2x} + \hourly{5} gives 3x+10+2x+5=100\unknown{3x} + \onetime{10} + \unknown{2x} + \hourly{5} = \total{100} and leads to $17\$17 per hour):
3x+10+2(x+5)\displaystyle \unknown{3x} + \onetime{10} + 2(\unknown{x} + \hourly{5}) =100\displaystyle = \total{100}
Distribute 22 across (x+5)(\unknown{x} + \hourly{5}) and combine like terms on the left side:
3x+10+2x+10=1005x+20=100\displaystyle \begin{aligned} \unknown{3x} + \onetime{10} + \unknown{2x} + \hourly{10} &= \total{100} \\ \unknown{5x} + 20 &= \total{100} \end{aligned}
Subtract 20\operation{20} from both sides, then divide by 5\operation{5}:
5x=80x=16\displaystyle \begin{aligned} \unknown{5x} &= \total{80} \\ \unknown{x} &= 16 \end{aligned}
$16 per hour\$16\text{ per hour}