If you coded the linear equation with interaction between group and slope, it should gives you what you want: y = x1 + x2 + x1:x2
If you coded the linear equation with interaction between group and slope, it should gives you what you want: y = x1 + x2 + x1:x2