To set up the equation for Rebecca's total purchase, we need to consider the following:
- The cost of a pair of socks is $5, and if she buys \( n \) pairs, then the cost of socks is \( 5n \).
- The cost of each t-shirt is $12, and she buys 2 t-shirts, giving a total cost for t-shirts of \( 2 \times 12 = 24 \).
The total cost equation becomes: \[ 5n + 24 = 39 \]
So the correct answer for Part A is B: \( 5n + 24 = 39 \).
For Part B, we can now solve the equation \( 5n + 24 = 39 \) for \( n \):
-
Subtract 24 from both sides: \[ 5n = 39 - 24 \] \[ 5n = 15 \]
-
Divide both sides by 5: \[ n = \frac{15}{5} \] \[ n = 3 \]
Thus, Rebecca can buy 3 pairs of socks.