Web Analytics

Jalissa bought a backpack for $30 and n notebooks for $2.50 each.

AWrite a function that shows the amount Jalissa spent on her backpack and n notebooks.
BIf she spent $40, how many notebooks did she buy?