The expression to find the number of notebooks James bought would be written as:
Number of notebooks = total spent / cost per item
Number of notebooks = (2y^2 + 6) / (y^2 − 1)
If y = 3, then the number of notebooks bought would be:
Number of notebooks = (2y^2 + 6) / (y^2 − 1)
Number of notebooks = (2(3)^2 + 6) / (3^2 − 1)
Number of notebooks = 3 pieces