The equation f(x)=2^x creates a shape with the x-axis by extending lines down from f(0) to the x-axis and from f(1) to the x-axis a line is also drawn between x=0 and x=1. What is the perimeter of the shape created?

Okay, so:

I'm absolutely clueless as to how I should find d. Does anyone have an idea?