Yup. Sorry to say the two equations you were fiddling with..."q = mc^t and ^h = n^h (formation)", aren't the ones you want.
If you're wondering how to catch these kinds of questions...we look at what we're given
"169 L of Nitrogen gas" gives a volume, V
"at 25 degrees celsius" gives a temperature, T
"and 485 kPa" gives a pressure, P
"What mass of sodium azide" says we want a mass, m. Mass is always related to the amount of something, which is a counted number...as in moles of nitrogen...# of moles is usually n
So we have V, T, P, and we need m (or n, since n is related to m)
Sounds like work for PV=nRT ... and voila! Best of luck!