A college student completed some courses worth 3 credits and some courses worth 4 c...

Check the final answer first, then review the worked steps.

Answer

13

Work

x + y = 18 \implies y = 18 - x
3x + 4(18 - x) = 59
3x + 72 - 4x = 59
-x = -13 \implies x = 13

Step-by-step solution

Let $x$ be the number of 3-credit courses and $y$ be the number of 4-credit courses. We have $x + y = 18$ and $3x + 4y = 59$. Substituting $y = 18 - x$ into the second equation gives $3x + 4(18 - x) = 59$, so $3x + 72 - 4x = 59$, which simplifies to $-x = -13$, so $x = 13$.