The brightness of glow of bulb P will increase and brightness of glow of bulb Q will decrease.
Because on closing S, bulbs Q and R will be in parallel and the combination will be in series with bulb P. Hence, the total resistance of the circuit will decrease and the current flowing in the circuit will increase. Therefore, the glow of bulb P will increase.
Also, bulbs Q and R will be in parallel in this case. So, the current gets divided and lesser current flows through Q and hence the glow of bulb Q decreases.