Draw the billiard balls in contact, with one centre higher up than the other. Draw a line connecting the centres of the two balls. The initial velocity of the incoming ball is not along this line, it is perhaps horizontal. You have to resolve its velocity into components along ang perpendicular to this line.