Subtract a on both sides:
d - a = fx
Divide f on both sides:
(d - a) / f = x
x = (d - a) / f
5.1m questions
6.7m answers