The perimeter of a rectangle varies directly as its side. What is the solution?