Total cost of lessons : 305.50
Deduct the first two lessons which costs 12.75 each from the total cost.
12.75 * 2 = 25.50 is the total cost of the first two lessons.
305.50 - 25.50 = 280 total cost from the 3rd lesson upwards.
Since, it was stated that after the first two lessons, all other lessons cost 20 each lesson. We divide the remaining 280 by 20 to get the number of lessons taken.
280 / 20 = 14 lessons.
To get the total number of lessons Leah has; we add the first two lessons to the quotient, which is 14 lessons.
2 lessons + 14 lessons = 16 lessons in total.
To check: Multiply the corresponding lessons to its cost and check if the total cost arrived is equal to the total cost stated in the problem.
2 lessons * 12.75 = 25.50
14 lessons * 20.00 = 280.00
======== ========
16 lessons 305.50