V varies partly as D and partly as the square of D when V equals 5, d equal to 2

,when V equals to 9 and d equal to 3
Write the law connecting W and D

V = 5D + 25D^2