PV=nRT can be written as P=nRT/V. n/V=concentration, so P=conc(RT). Then, you can solve for concentration and then plug that value into K=[P]/[R].