Baker--Campbell--Hausdorff Formula to Degree Three