Because X=4Y, substituting X-Y=24, we get:
4Y-Y=24
Y=8, substitute X=4Y:
X=4x8=32
So there are 32 stars and 8 triangles.
Seek adoption