The ratio of the weights of A and B is equal to the ratio of the weights
of C and D. If A is 20 kg, B is 24kg and C is 40 find out the value of D .​