2(500-у/3)=820
1000-2y/3=820
-2y/3=-180
y=270
500-у/3=820:2
500-у/3=410
у/3=500-410
у/3=90
у=90*3
у=270