Select the shape you want to transform, choose Image > Transform Shape, and then choose a transformation command.
Double-click the shape you want to transform, and then drag an anchor to transform the shape.