first close the switch and draw the circut. for RC circuit, the time constant is
T= Req C
where Req is the effective resistance seen across the capacitor terminals with all independent sources making zero means voltage source value should be zero(short circuit) and current source value should be infinity (open circuit)
so now open the capacitor and short the voltage source and determine the resistance coming across the capacitor terminals.
one R is in parallel with short circuit. it will become zero resistance.
so Req = R
so T= RC