Perimeter of a rectangle is 2l + 2w, where l = length and w = width
From information we can create two equations in two unknowns:
2l + 2w = 18
6l + 4w = 46
multiply first equation by 2
4l + 4w= 36
6l + 4w = 46
subtract 2nd equation from 1st:
-2l = -10
l = 5
substitute value of l into first equation to solve for w:
2l + 2w = 18
2(5) + 2w = 18
10+ 2w = 18
2w = 8
w = 4
original rectangle is 5 x 4.