How to find the area of a half of a square?