Find the consumer surplus at the equilibrium point.(I keep using the formula listed below but get a completely different answer from what the book says. I am a visual person so please show me step by step so I can see where I went wrong.

D(x)=(x-6)^2 ; x=3

Formula: D(x)-QP

The Answer according to the book is $36