Let n=pq and q-p=2d where d>0 and p, q are odd prime numbers.

1-Show that n+d2 is a perfect square i.e. n+d2=m2 for some integer m.

2-If you know that n+d2 is a perfect square, can you find prime factor of n

how can I show that, any help will be apprciated.