The formula for the perimeter P of a rectangle with length L and width W is P=2L+2W. Which equation correctly expresses the length L in terms of P and W?
L=P−W
L=2P−2W
L=2P−W
L=2P+W