Given the function
![y=-2.25x+30](https://img.qammunity.org/2023/formulas/mathematics/college/f3of9s43gsbch0xgeb0nphou0qiqo9dj8p.png)
where y denotes the number of times Sanjay visited different coffee shops in each month and x denotes the distance from his house.
To find the number of times Sanjay would visit a coffee shop in one month that is 8 miles from his house, substitute 8 for x into the equation of y.
![\begin{gathered} y=-2.25\cdot8+30 \\ =12 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/v02fk7glwp3ppwiu7eveefx61017h75ydv.png)