The first rules of composition for photography is that there are no rules. Not really. The ‘rules’ are simply starting points ...
When two lines intersect, the opposite (X) angles are equal. On parallel lines, alternate (Z) angles are equal. On parallel lines, corresponding (F) angles are equal. On parallel lines ...