Perimeter is the sum of each of the lengths of a shape.Rectangle has two equal lengths and two equal widths.Let w= width of the rectangle.Perimeter =2×7cm+2×wBut perimeter =24cm24cm=14cm+2w24cm−14cm=2w10cm=2wDivide both sides of the equation by 2w=210cm=5cm