1) 18 * x + 5 - 3 * x = 35;
(18 * x - 3 * x) + 5 = 35;
x * (18 - 3) + 5 = 35;
x * 15 + 5 = 35;
15 * x + 5 = 35;
15 * x = 35 - 5;
15 * x = 30;
x = 30/15;
x = 2;
10 + 2 * x + x + 5 = 42; 15 + 2 * x + x = 42;
2 * x +x = 42 - 15;
2 * x + x = 30 - 3;
2 * x + x = 27;
x * (2 + 1) = 27;
x * 3 = 27;
x = 27/3;
x = 9;
1) 18 * x + 5 - 3 * x = 35;
(18 * x - 3 * x) + 5 = 35;
x * (18 - 3) + 5 = 35;
x * 15 + 5 = 35;
15 * x + 5 = 35;
15 * x = 35 - 5;
15 * x = 30;
x = 30/15;
x = 2;
10 + 2 * x + x + 5 = 42; 15 + 2 * x + x = 42;
2 * x +x = 42 - 15;
2 * x + x = 30 - 3;
2 * x + x = 27;
x * (2 + 1) = 27;
x * 3 = 27;
x = 27/3;
x = 9;