If a varies jointly as b and c and inversely as the square of d, and a=120 when b=5, c=2, and d=9, find a when b=12, c=9 and d=9.