I was able to make the sketch of this, but I wanted to find the formulas for the x,y velocity components for each ball after the collision. I let $v_{x1}, v_{y1}$ be the velocities of the first ball after the collision, and similarly $v_{x2}, v_{y2}$ for the second ball. This is 4 unknown variables. Then I wrote the conservation of momentum along x, y axis, and conservation of energy:
$mv - (2m)v = mv_{x1} + 2mv_{x2}$ along x axis
$0 = mv_{y1} +2mv_{y2}$ along y axis
$\frac{mv^2}{2} + \frac{2mv^2}{2} = \frac{m(v_{x1}^2 + v_{y1}^2)}{2} + \frac{2m(v_{x2}^2 + v_{y2}^2)}{2}$ for energy.
This is only 3 formulas, and 4 unknowns, so I can not solve for the velocity components without more equations. I think there is some information involved with the geometry of the question (that one of the balls' center aligns with the other's top or bottom), but I do not know how to write this out mathematically, especially since the masses of the two objects are different.