hii
the main problem in the question is to find out the reactions taking place.
the reactions taking place are
2Al + 2NaOH

2NaAlO
2+3H
2 Mg+2HCl

MgCl
2+H
2 Cu+HCl

no reaction
remember these three points:
only Al reacts with NaOH
only Mg reacts with HCl
Cu reacts with none
let Al be a grams,Mg be b gms and Cu be c grams in the alloy
a+b+c=8.72
b+c=2.10 (because Mg and Cu do not react with alkali)
c=0.69 (because Cu reacts with none)
solve to get a=6.62 g
b=1.41 g
now find the percentages and u r done.
