The formula for calculating the area of a square or a rectangle is:

in which l is the length and w the width.
To calculate the area of a triangle we use the fomula

in which b is the base of the triangle and h is the height of the triangle.
The area of a trapezoid is calculated by the formula

in which a is the shortest base, b is the longest base and h is the height.
Finally the are of a circle is calculated by the formula

if it is a semi-circle we divide pi by a half, which results as

same happens for a quarter-circle, but we divide it by 4, it results as

for the 3 of them r represents the radius of the circle.