let the 5 numbers be a,b,c,d,e
then:
[a+b+c+d+e] /5=6 multiply both sides by 5
eq 1) a+b+c+d+e=30
but we know:
[a+b+c+d]/4=7 multiply both sides by 4
eq 2) a+b+c+d=28
substitute 28 for a+b+c+d into eq.1
28 + e=30
e=2 answer
Or subtract eq 2) from eq 1)
Arthur