A rectangle has a width of 8 inches. The perimeter of the rectangle is 40inches. What is the length of the rectangle, in inches?

Show the formula please and work plus answer thank you ​