On the synthesis of n-Terminal R-network and polygon to star transformation