An egg seller had a total of 2400 chicken eggs and quail eggs. He accidentally broke some quail eggs and had to throw them away. He decided to add another 150 chicken eggs to his supply. As a result, the number of quail eggs decreased by 5% and the total number of eggs increased by 4.5%. How many chicken eggs did he have at first?

c+q = 2400

c+150 + 0.95q = 2400 * 1.045
Now just solve for c