at a charity basketball game, 450 tickets were sold to students at a school. The remaining x tickets were sold to the public. The prices of the two types of tickets are shown. When all the tickets were sold, $10,500 was collected. How many tickets were sold to the public?