An ideal monoatomic gas is confined in a horizontal cylinder by a spring-loaded piston (as shown in the figure). Initially,the gas is at temperature $T_1$,pressure $P_1$,and volume $V_1$,and the spring is in its relaxed state. The gas is then heated very slowly to temperature $T_2$,pressure $P_2$,and volume $V_2$. During this process,the piston moves out by a distance $x$. Ignoring the friction between the piston and the cylinder,the correct statement$(s)$ is(are):
$(A)$ If $V_2=2V_1$ and $T_2=3T_1$,then the energy stored in the spring is $\frac{1}{4}P_1V_1$
$(B)$ If $V_2=2V_1$ and $T_2=3T_1$,then the change in internal energy is $3P_1V_1$
$(C)$ If $V_2=3V_1$ and $T_2=4T_1$,then the work done by the gas is $\frac{7}{3}P_1V_1$
$(D)$ If $V_2=3V_1$ and $T_2=4T_1$,then the heat supplied to the gas is $\frac{41}{6}P_1V_1$