Unable to solve gold grid problem

I am not able to solve gold grid problem. Can somebody plz help me with it?