In the exponential of the first formula, rewrite the dot product in terms of things you know (magnitudes and angles) by picking/defining your q-vector to be along the z-hat direction. After that, write the measure in spherical coordinates and run with it.