Question 261624
Let their ages be as follows.
Barbie =x
Judy=y
Sulty=z

X=(y+z—2)
X+5=2(y+5)
y-2=1/2*(z-2)

Simplify all the equations

x-y-z=-2 ----1
x-2y=5 ------2
2y-z=2-------3

Solve eq 2 &3  Add 2&3

We get x-z=7

X=z+7

Substitute the value of x in equation 1

z+7 –y-z=-2
y=9

x-2*y= =5  -----2
x-18=5
x=23

z=16