x+y=12
21x+45y=420
y=12-x
21x+45*(12-x)=420
21x+540-45x=420
21x-45x=420-540
-24x=-120
x=-120/(-24)
x=5
y=12-5=7
x+y=12
21x+45y=420
y=12-x
21x+45*(12-x)=420
21x+540-45x=420
21x-45x=420-540
-24x=-120
x=-120/(-24)
x=5
y=12-5=7