Answer:
The four digits code is 9354.
Step-by-step explanation:
Let the code of four digits is wxzy.
Now, given that, w = x + 6 and w = 3x
Now, solving those two equations we get,
3x = x + 6
⇒ 2x = 6
⇒ x = 3
So, w = 3x = 9
Now, given that, z is four less than w.
So, z = 9 - 4 = 5
And the fourth digit i.e. y is given by, [tex]\frac{8}{y} = 2[/tex]
⇒ y = 4
Therefore, the four digits code is 9354. (Answer)