a) 8 + 6 * x - 5 - 2 * x = 4 * x + 12 - 9 * x
4 * x + 3 = -5 * x + 12 | + (5 * x)
9 * x + 3 = 12 | - 3
9 * x = 9 | :9
x = 1
Sprawdzenie:
L = 8 + 6 * 1 - 5 - 2 * 1 = 8 + 6 - 5 - 2 = 7
P = 4 * 1 + 12 - 9 * 1 = 4 + 12 - 9 = 7
L = P
b) - 4 - 5 * x + x + 6 = 7 - 2 * x + 9 - 4 * x
-4 * x + 2 = -6 * x + 16 | + (6 * x)
2 * x + 2 = 16 | -2
2 * x = 14 | :2
x = 7
Sprawdzenie:
L = - 4 - 5 * 7 + 7 + 6 = -4 - 35 + 7 + 6 = - 26
P = 7 - 2 * 7 + 9 - 4 * 7 = 7 - 14 + 9 - 28 = - 26
L = P