First exercise. You can add all the usual bells and whistles after, but we’ll keep it short here. (The <statement> may be omitted if none of <hint>, <answer>, or <solution> are present as a child of the <exercise>.)
2.
Second exercise.
Hint.
The <statement> for this exercise is necessary because we have included at least one of <hint>, <answer>, or <solution> (namely, <hint>).
3.
Third exercise. (No <statement> necessary here because no <hint>, <answer>, or <solution>.)
4.
This <exercise> is not inside the <exercisegroup>.