Lets move a over to the other side first to get

Now let's divide by d to get

And expand the right hand side to get

And now we'll "complete the square" by adding to both sides to get

Now we'll need a common denominator to add the fractions and we'll also factor the right hand side to get

And can you take it from here?