Answer:
Neil's age is 12 and the age of Andrea is 8.
Step-by-step explanation:
Let
x ---> Neil's age
y ---> Andrea's age
we know that
Neil is 4 years older than Andrea
so
[tex]x=y+4[/tex] -----> equation A
Neil was twice as old as Andrea four years ago
so
[tex]x-4=2(y-4)[/tex]
[tex]x-4=2y-8\\x-2y=-8+4[/tex]
[tex]x-2y=-4[/tex] ----> equation B
substitute equation A in equation B
[tex]y+4-2y=-4[/tex]
solve for y
[tex]2y-y=4+4\\y=8[/tex]
Find the value of x
[tex]x=8+4=12[/tex]
therefore
Neil's age is 12 and the age of Andrea is 8.