(3s+2d)(3s-2d)

9s^2-6ds+6ds-4d^2

9s^2-4d^2+0ds

correct. can be written as just 9s^2 - 4d^2