A rectangle has a length of 5 inches and a width of x inches.

Write an equation to represent the perimeter of the rectangle.