The perimeter of a square is equal to four times the length of its side. Write the direct variation equation that represents this situation.

Let y be the dependent variable and let x be the independent variable.