Doctor bean bought = X soccer balls
Algebraic expression = X
Nestor Felix Peter and hail each bought a baseball and X pair of sweat socks
If X in both are the same, then the algebraic expression for (b)
= X + X + 2
= 2X + 2
The two expressions are not equivalent