We are solving for x: Subtract b from each side: ax = cx - d - b Subtract cx from each side: ax - cx = -d - b Factor out x from the left side: x(a - c) = -d - b Divide each side by (a - c) x = (-d - b)/(a - c)