To solve this, we have to subtract these two equation to make Xs or Ys of two equations same. So if we multiply the first equation and 3 to make the same with other equation,
3x+3y=72
3x+5y=100
If we subtract two equations,
3x+3y=72
- 3x+5y=100
-2y=-28
y=14
So if we put this on the fir equation,
x+14=24
x=10
So the answer is the second one