For the wire bent into an equilateral triangle, each side has a resistance 3R.
Req =32R+3R(32R)(3R)=92R=R1 (lets say) For the wire bent into a square, each side has a resistance 4R.
Req =43R+4R(43R)(4R)=163R=R3 (lets say) ⇒R3R1=163R92R=2732