There are three persons A B, and C in a room. If a person D joins the room, the average weight of the persons in the room reduces by x kg . Instead of D , if person E joins the room, the average weight of the persons in the room increases by 2 kg x . If the weight of E is 12 kg more than that of D , then the value of x is