Please help me on question 4 and 5 I am really stuck thank you I would really appreciate it

Answer:
1. 5/4
2. 7
Step-by-step explanation:
1) Lets call the width as w
Therefore length would be:
w+4
To find the perimeter you use the formula:
2 (l+w)
Now substitute our values into this formula:
2 (w+4+w)
2( 2w+4)
4w+8
Now make this equal to 13:
4w +8 = 13
4w = 5
w = 5/4
2. In this question we will call length l
Therefore width would be:
l-5
Now we will do the steps we did above:
2 (l+l-5)
2 (2l-5)
4l -10
4l - 10 = 18
4l = 28
l = 7