X-3+4X-3+4X+2-3=56
X+4X+4X=56+3+3-2+3
9X=63
X=7 7+7+7+7=28 28+2=30
\
A: Lazy goat is 7 years old, beautiful goat is 28 years old and pleasant goat is 30 years old.