Solve the system
for and .
Pick the equation that isolates most cleanly. The second equation has with coefficient and no constant term, so solving it for costs nothing:
Choosing the other equation would work too, but this one produces the simplest expression to substitute.
Substitute into the first equation. Replacing by in :
Now there is a single unknown, which is the whole point of substitution.
Combine the terms over a common denominator. Writing :
The combined coefficient is not a whole number, which is exactly why the answers come out as fifths rather than integers.
Solve for , then back-substitute for . Multiplying by the reciprocal :
and then
Both fractions should be reduced: and .
Check in both original equations. First: ✓. Second: ✓. As decimals the solution is , and the geometric reading is that the lines and cross there.
Need to solve a different problem like this? Open the solver →