Respuesta :

the total number of chocolates =24

[tex]x+y=24[/tex]

where x represents chocolate ate by Ali and y represents Ahmed. Ali ate 14 more.

[tex]y+14=x[/tex]

Substitue this in first equation

[tex]\begin{gathered} y+14+y=24 \\ 2y=24-14 \\ 2y=10 \\ y=5 \end{gathered}[/tex]

so Ahmed ate 5 chocolates. Now, ali ate 14 more, so

[tex]x=14+5=19[/tex]

Ali ate 19 chocolates.