With a certain medical insurance policy, the customer must first pay an annual $300deductible, and then the policy covers 80% of the cost of x-rays. The first insurance claims for a specific year submitted by a person are for two x-rays. The first x-ray cost $630, and the second x-ray cost $960. How much, in total, will he need to pay for these x-rays?