Each month, a shopkeeper spends 3x+2 dollars on rent and 7x+4 on electricity. Ahmed claims that the shopkeeper spent a total of 10x+2 on rent and electricity.
Is Ahmed correct?

Justify your answer by showing your work