The fallowing spheres are touched in this order...

step 1: K & L
step 2: K & M
step 3: L & M

the final charges on the three spheres are

[K = +x/2] [L = -x/4] [M = -X/4]

thanks