Define a variable and write an equation to model the situation

Answer:
D.
We were given that:
Perimeter (square) = 4 times the length of a side
For a square, all its sides are congruent
[tex]\begin{gathered} Perimeter_{square}=4\times length \\ \text{Let the length be represented by ''s'', the expression becomes:} \\ length=s \\ Perimeter_{square}=4\times s \\ Perimeter_{square}=4s \\ \\ \therefore p=4s \end{gathered}[/tex]Therefore, the correct option is D.