This answer
is not correct. The SN2 reaction inverts the configuration of the
substrate and this answer shows retention of configuration. Remember that this
reaction proceeds via a back attack on the carbon with the leaving group. You
are correct in that "D" is the alkene formed.