We have to find the cost of 4 lessons.
The cost for 7 lessons is $82 and the cost for 11 lessons is $122.
We can represent this as 2 points: (7,82) and (11,122).
We can calculate the slope as:
![m=(y_2-y_1)/(x_2-x_1)=(122-82)/(11-7)=(40)/(4)=10](https://img.qammunity.org/2023/formulas/mathematics/high-school/hgp4325bz7arf1ralu5h2ru58lug6fwdkw.png)
Then, we can write an equation of a line in slope-point form as:
![\begin{gathered} y-y_1=m(x-x_1) \\ y-82=10(x-7) \\ y=10(x-7)+82 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/high-school/b41nfm01ckisro3gla9gvow2bxcact8zhl.png)
Now we can calculate the cost of 4 classes (x = 4) as:
![y(4)=10(4-7)+82=10(-3)+82=-30+82=52](https://img.qammunity.org/2023/formulas/mathematics/high-school/m0b68onknxk10a7wsek9f77xj8qdr8zjtx.png)
Answer: the cost of 4 classes is $52.