Hopefully this is the right section to be posting this...

The point (h, k) lies on the the line y=x+1 and is 5 units from the point (0, 2). Write down two equations connecting h and k and hence find the possible values of h and k.

Thanks in advance to anyone who can help.