a · b = 20
b · c = 12
a + b + c =12
a=? b=? c=?
a = 20/b
c = 12/ b
So
a + b + c = 12 substitute for a, c
20/b + b + 12/b = 12 multiply through by b
20 + b^2 + 12 = 12b rearrange and simplify
b^2 - 12b + 32 = 0 factor
(b - 4) ( b - 8) = 0
Set each factor to 0 and solve for b and we have that
b = 4 or b = 8
If we want a and c to be integers, then b = 4 is the only solution
And a = 20 / b = 20 / 4 = 5
And c = 12/b = 12/4 = 3
So
a * b = 5 * 4 = 20
b * c = 4 * 3 = 12
And
a + b + c = 5 + 4 + 3 = 12
So (a, b, c) = ( 5 , 4, 3)