Source: http://fr.maths.free.fr/maths/gf/cours_pdf/6eme/paves_droits.pdf