Kyle types college reports for $1.70 per page. He also charges $6 to cover the cost of supplies. How many pages did he write if he charged $40.00? Write and solve an equation.