[tex] \pink{x + y = 24} [/tex]
[tex] \purple{x = 4 + y} [/tex]
[tex] \blue{y + 4 + y = 24} [/tex]
[tex] \green{2y = 24 - 4} [/tex]
[tex] \orange{2y = 20} [/tex]
[tex] \red{y = 20 \div 2} [/tex]
[tex] \orange{y = 10} [/tex]
[tex] \green{x = 10 + 4} [/tex]
[tex] \blue{x = 14} [/tex]