Absolutely, and if you only do two, add deadlifting.
For the third mandatory exercise, I would add a body weight exercise, namely burpees, ideally strict pushup burpees. Great cardio and activation of the upper body in addition to the legs, plus explosiveness.