rectangle functions complete
type and area or triangle complete