$16 per month can be changed to 16m where m represents months.
The $2 per Pilates class can be 2p where p represents Pilates classes.
An equation of y = 16m + 2p can be set up, where y represents how much McKenna is charged total for gym membership ($52)
52 = 16m + 2p
We know that McKenna attended 12 Pilates classes, and we also know that McKenna attended 1 month, so we plug this in:
52 = 16(1) + 2(12) (simplify)
52 = 16 + 24 (add 24)
52 = 40
Since this is not equal, $52 is not the correct amount to be charged.