What are the width and height in the problem?

Hi,
I am not able to find what should be the width and height in the given greatest temple problem

No the dimensions are infinite. You just have to find the largest area covered by river on all 4 sides.

Refer to this for approach Grand Temple doubt