Here are two number machines, A and B.
A
X
x5
-4

B
X
x3
+8
Both machines have the same input, x.
Work out the input that makes the output of A three times the output of B.