Write equations for each word problem. You do not need to solve the equations. Make sure to define your variables.
a.

Adam went to the store and spent $58 several parts for fixing his fence at home. The boards cost $4 each and the posts cost $6 each.