Let x be the number of toys Mandy has.
Anna has 3*x toys.
Amanda has 3*x+2 toys.
x+3*x+3*x+2=142
7*x+2=142
7*x=140
x=<<20=20>>20
#### 20