Split the square in two

Draw a square.

Split it into two equal parts with one line.

How many different ways can you find?

How do you know the parts are equal?