A rod of length is 3 m and its mass acting per unit length is directly proportional to distance x from one of its end then its centre of gravity from that end will be at
(a) 1.5 m
(b) 2 m
(c) 2.5 m
(d) 3.0 m