The expression "4 x the variable of x" is the perimeter of a square garden. How do you write this phrase in a mathematical expression?

The expression can be written as 4x, where x represents the variable.