To solve for T, we can treat this like a usual algebraic expression.
K = PRT
Divide P
K/P = RT
Divide R
K/PR = T
To find T, simply use K/PR