We can regard the network of Fig. (a) as a series combination of four resistances in the form of network as shown
This can further be simplified as shown.

It is clear that the effective resistance of this networks is

Hence the total effective resistance of the given network is given by

The network of figure (b) is simply a series combination of 5 resistances each of value 5Ω . Hence the effective resistance of this network is Reff = 5 x 5 = 25 Ω