The perimeter of a square is the product of four and the length of a side. Which of the following function rules could be used to find the perimeter of a square, represented by y, given the length of a side, represented by x?

x = 4y

y = 4x

y = x + 4

x = y + 4