Letting star = x

rectangle = y

triangle = z

from the 1st coulumn, I get 3x + y = 52, solving for y, I get y = 52 - 3x

from 2nd row, I get 2x + 2y = 44, substituting y = 52 - 3x in this equation, I get x = 15.

substituting x = 15 in 3x + y = 52, I get y = 7.

Now using column 3, I get x + 2y + z = 32. From this equation I get z = 3.

Finally, from the 4th row, I get x + z + y + w = 40 and substituting x, y, and z, I get w = 15.

This is the same as x which is a star.

Anwer is a Star replaces the question mark (?).