Răspuns:
a = 10 × ( 34 : 2 + 2 ) + 5 × ( 2 × 17 - 3)
a = 10 × ( 17 + 2 ) + 5 × ( 34 - 3 )
a = 10 × 19 + 5 × 31
a = 190 + 155
a = 345
b= 5 × ( 2 × 17 + 3 ) + 10 × ( 51 : 3 - 1 ) + 1
b = 5 × ( 34 + 3 ) + 10 × ( 17 -1 ) + 1
b = 5 × 37 + 10 × 16 + 1
b = 185 + 160 + 1
b = 346