if p is inversely proportional to the square of q, and p is 18 when q is 12, determine p when q is equal to 2