The question is:

Enter any linear equation containing positive or negative, single or double digit numbers. The variable can be any lowercase letter and on either side of the equal sign. The first term cannot be negative. The first term cannot be negative, but exactly two terms must contain the variable.

For instance: 12x-2=12x

What formula or steps can I follow to solve this in Excel?

Thanks for any help you can give.