Pi High School ordered 40 science books. The next week, the school ordered 30 algebra books. The bill for the first order was $360 greater than the bill for the second order. The two bills together totaled $3960. Find the price of an algebra book.