Not quite. The answer is C.
How to solve it
As the ventricles begin to contract, rising pressure closes the atrioventricular valves, producing S1. As the ventricles relax, their pressure falls below the pressure in the aorta and pulmonary trunk, and the semilunar valves close, producing S2.