Need help can someone plz help me solved this problem ASAP! Need help I will mark you as brainiest

Answer: 22, 38
3, 7
8, 12
Step-by-step explanation:
It is given that the PERIMETER is BETWEEN 22 and 38
--> 22 < P < 38
Perimeter = 2w + 2L
It is given that L = w + 5
Substitute P with 2w + 2L and substitute L with w + 5
22 < 2w + 2(w + 5) < 38
22 < 2w + 2w + 10 < 38
12 < 4w < 28
--> 3 < w < 7
Since L = w + 5, then w = L - 5
Substitute P with 2w + 2L and substitute w with L - 5
22 < 2(L - 5) + 2L < 38
22 < 2L + 2L - 10 < 38
32 < 4L < 48
--> 8 < L < 12