Solve an affine function

Variable

Ask for a with default 0
Variable

Ask for b with default 0
Variable

Set f(x) to ax + b
Output

Print variable f(x)
Output

Print text f(x) = 0 <=> x = "-b/a"