P varies directly as Q and inversely as the square of R. If P = 1 when Q = 8 and R = 2.
Find: (a) the law connecting P, Q and R (b) the value of Q when P = 3 and R = 5.