Jamie put 8 squares together to make a rectangle. There are 2 rows of squares Each row has 4 squares . How many pairs of sides touch each other in the rectangle?