The equation is 7x + 3 = 45, and x = 6.
Since Sam chooses an unknown number (n) and multiplies it by 7. After that, he adds 3, therefore the equation is 7x + 3 = 45.
Solving this equation, you'd subtract 3 from both sides, leaving "7x = 42". Next, you divide both sides by 7, which give you an answer of x = 6.
I hope this helps!