![enter image description here](https://i.stack.imgur.com/omGAq.jpg)

I just want hint how to use the congruent condition..which involves an equation in X I guess

And I obtained one equation
$$y^2=x (16+x)$$