Answer:
Neil's age is 12 and the age of Andrea is 8.
Explanation:
Let
x ---> Neil's age
y ---> Andrea's age
we know that
Neil is 4 years older than Andrea
so
 -----> equation A
 -----> equation A
Neil was twice as old as Andrea four years ago
so


 ----> equation B
 ----> equation B
substitute equation A in equation B

solve for y

Find the value of x

therefore
Neil's age is 12 and the age of Andrea is 8.