Many solutions problem

Question

Hints

Answer