Given the function
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.