Answer
See below.
Work Step by Step
$P=2l+2w\\2l=P-2w\\l=\frac{P-2w}{2}$
Thus plugging in $P=30,w=7$: $l=\frac{30-2(7)}{2}=16/2=8$
You can help us out by revising, improving and updating this answer.
Update this answerAfter you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.