Verified Answer :

This is a one variable equation in algebra.

X = 2

5x+2x=24-10
7x=14
x=14\7=2
 this is a linear equation.
I hope this helps you!