we can use the Pythagorean theorem to solve this:
a^2+b^2=c^2
plug in
3^2+6^2=c^2
9+36=c^2
add
45=c^2
take square root of both sides
sqrt45
this can be simplified down to 3 sqrt5
so the answer to this would be D