I believe since the definition of perimeter is adding the lengths of all three sides of the angles the, width of the rectangle would be 5, and the length of the rectangle would be 10.
10
+10
-------
20
+5
------
25
+5
------
30
And that is you answer, yay!