@sarahjunnek,
From this syntax, this should be the correct course of solving the equation:
5/8(a-2)=10 //multiply both sides by 8(a-2)
5=10*8(a-2)
5=80(a-2)
5=80a-160 //add 160 to both sides
5+160=80a
165=80a //divide both sides by 80
165/80=a
a= 33/16