Yes - in case it is not obvious or similar problems aren't, just remember this is topological, that is as long as you keep the original connections, no more no less, you haven't changed anything electrically and you have an equivalent circuit. The lines represent perfect conductors.
So on your left fig. take top and bottom left corners and place them inside the right rectangle, keeping all connections. So you've obtained inside the right rectangle a branch that goes top L corner - R1 - bottom L corner. What were previously T junctions are still points from which 3 wires radiate - looks different but no connections have changed - topological equivalence. Now you could slide your middle branch connected to R1 along the top side, similarly at the bottom, till it looks like your second figure (corrected as you said) and you are still not changing anything because those lines are just perfect electrical connections.
These things are easier done than said.