# A good problem!!

Algebra Level 4

In a plane there are two families of lines $$y=x+r$$ and $$y=-x+r$$, where $$r\in\{0,1,2,3,4\}.$$ How many squares of diagonal length 2 can be formed by the two lines?

×