We need to solve the following equation for T:
[tex]PV=\text{nRT}[/tex]For that we need to isolate T on the left side of the equation. This is done below:
[tex]\begin{gathered} \frac{PV}{nR}=\frac{nRT}{nR} \\ \frac{PV}{nR}=T \\ T=\frac{PV}{nR} \end{gathered}[/tex]