4 methods to calculate area