The perimeter p of a rectangle is related to the length l and width w through the equation p=2l+2w. determine the width in terms of the perimeter and length.