Nilpotent sub-Riemannian problem on the Engel group

The following sub-Riemannian problem is considered: