A 0.050kg bullet embeds in a 0.95kg wooden block initially at rest on a long string. After the collision, the bullet–block system swings upward and rises 0.20m before momentarily coming to rest. What is the bullet’s speed just before impact?
a) 80m/s
b) 40m/s
c) 28m/s
d) 38m/s