theres no real way to get it, u just have to see it. thats why this question is a bit tricky.
if u expand (a+b+c)(ab+bc+ac) and take away 3abc u get the expression on top. u need to do this bcuz the original expression would not have allowed u to use sums and products of roots.