Click here to read the complete problem statement.
Plz someone give me a hint.
assume f(x,y) as a variable