Answer: Triangle = 0
Square = 2
Pentagon = 4
Explanation:
If you replace the shapes with the numbers you should see that it works.
I used Trial and error.
1.6m questions
2.0m answers