Answer:
![y - 2 = -3(x - 2)](https://img.qammunity.org/2021/formulas/mathematics/high-school/4lsr1qbdwbyjafb6hewwc3kxwetz56aqhz.png)
Explanation:
The equation of the line in point-slope form is given by the formula,
, where,
(a, b) = coordinates of a point on the line.
![m = slope = (y_2 - y_1)/(x_2 - x_1)](https://img.qammunity.org/2021/formulas/mathematics/college/z1z4csw6fbrf4ld7a2whvn434v109zkfz2.png)
Given that after buying 2 lattes, she has $2 left, this represents a point on the line which is (a, b) = (2, 2). That is, when x = 2 lattes, y = $2.
Let's find the slope using the point (2, 2) and any other point on the line, say at x = 1, when y = 5, that's (1, 5).
![m = slope = (y_2 - y_1)/(x_2 - x_1) = (5 - 2)/(1 - 2)](https://img.qammunity.org/2021/formulas/mathematics/high-school/9gdg39sylcp8pmaekkrz58tmzjknvsw9ts.png)
![= (3)/(-1)](https://img.qammunity.org/2021/formulas/mathematics/high-school/tasirn22274dbinw21j5vvil8lnnb8g65q.png)
![m = slope = -3](https://img.qammunity.org/2021/formulas/mathematics/high-school/3ewacu1f1bgo8yfdfygcivtyu3brfif9o0.png)
Plug m = -3, a = 2, and b = 2 into point-slope form.
![y - b = m(x - a)](https://img.qammunity.org/2021/formulas/mathematics/high-school/9oi3phkkg2zu4mvujcyrynaz74pv0dbtzo.png)
![y - 2 = -3(x - 2)](https://img.qammunity.org/2021/formulas/mathematics/high-school/4lsr1qbdwbyjafb6hewwc3kxwetz56aqhz.png)