A uniform pencil AB of mass 4.0g can be balanced horizontally on a knife edge of 2cm from the end, when a mass 6.0g is hung from this end.What is the length of the pencil

let L be the length

the center of mass is located at L/2

2 cm * 6.0 g = [(L/2) - 2] cm * 4.0 g