A rod of length is 3m 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