Quantitative cogs problem

Question

Hints

Answer