Effect of shear deformation on the elastica with axial strain