In SDT above the operator that occurs at lowest level has highest precedence and one that occurs nearest to start symbol has lowest precedence.
Precedence order of operators is $/ \gt - \gt *$. But $*$ operation here means addition. Thus all divisions take place first, then subtraction and then Addition.
So, $a_1 = 8/4 * 2 – 6 * 4$ evaluates as $(8/4)+(2-6)+4 = 2 + (-4) + 4 = 2$
And $a_2 = 6 * ((2 / 1) – 2) * 3 = 2 + (2-2) + 3 = 5$
$a_1 -a_2 = 2 - 5 = -3$