Условие:

8254
45 + 29
9044
18 + 18

8254 = (70 + 12) − (50 + 4) = (7050) + (124) = 20 + 8 = 28
 
45 + 29 = (40 + 20) + (5 + 9) = 60 + 14 = 74
 
9044 = (80 + 10) − (40 + 4) = (8040) + (104) = 40 + 6 = 46
 
18 + 18 = (10 + 10) + (8 + 8) = 20 + 16 = 36