Here is an example about how to solve a SAT problem by using the system of linear equation with two variables:
There are other methods to solve the problem, too. For example, you can get the charge per min by (4.75-3.5)/5 = 0.25, and then get the cost for 40 min by 4.75+20x0.25 = 9.75.