A = 2(x3 + y3) - 3(x2 + y2) + 30
= 2(x + y)(x2 - xy + y2) - 3(x2 + 2xy + y2 - 2xy) + 30
= 2 (1)(x2 + 2xy + y2 - 3xy) - 3( (x + y)2 - 2xy ) + 30
= 2( (x + y)2 - 3xy ) - 3( (1)2 - 2xy ) + 30
= 2( 12 - 3xy ) - 3 ( -2xy ) + 30
= 2( 1 -3xy ) - 3 ( 1 -2xy ) + 30
= 2 - 6xy -3 + 6xy + 30
= -1 + 30
= 29
Vậy A = 29 khi x + y = 1