Let [tex]w,h[/tex] be the dimensions of the rectangle. If the original perimeter is 52, we deduce that
[tex]2(w+h)=52 \iff w+h=26[/tex]
Doubling the width and increasing the length by 17 leads to a new perimeter of
[tex]96=2(2w+(l+17))=4w+2l+34 \iff 4w+2l=62[/tex]
From the first equation, we know that (for example) [tex]w=26-l[/tex]
Plug this in the second equation to get
[tex]4(26-l)+2l=62 \iff 104-4l+2l=62 \iff -2l=-42 \iff l=21[/tex]
So, the original length was 21, which implies that the original width was
[tex]w=26-l=26-21=5[/tex]