If p is inversely proportional to the square of q, and p is 27 when q is 5, determine p when q is equal to 3.

WILL MARK BRAINLIEST PLEASE HELP!!!​