This problem is similar to 5.14, you want to find the number of ways in which you can place the three balls into two the boxes, the only difference is that this time you want to make sure that each box has at least one ball.
You can use stars and bars to figure out the answer to the question.
社交网络