it's simple math: first do divide them multiply then and and subtract.

btw the answer is 8.