You multiplied the lengths of the sides instead of adding the lengths of the sides.