=There are 1760 pieces of blue and white tiles in total. 60% of blue tiles and 514 pieces of white tiles are used. There are as many tiles left. How many of the two tiles are there To solve the equation

=There are 1760 pieces of blue and white tiles in total. 60% of blue tiles and 514 pieces of white tiles are used. There are as many tiles left. How many of the two tiles are there To solve the equation

Let blue brick x white brick y
x+y=1760
0.4x=1760-x-514
The solution is x = 890
y=870
I'd appreciate it!