At A, coaster is only associated with potential energy.
At B, coaster is associated with kinetic as well as potential energy.
Since the track is frictionless, no energy will be lost when coaster reaches from point A to point B. Therefore, according to conservation of energy, total energy at A should be equal to total energy at B.
Total energy at A = mgh = mg(12)
Total energy at B = mgh+ mv²/2 = mg(2) + mv²/2
∴12mg = 2mg + mv²/2
∴(12g-2g)×2 = v²
∴v² = 20g
∴v = 14m/s.
Again conserving energy at points B and C.
Total energy at B = 2mg + m(14)²/2
Total energy at C = 4mg + mv²/2
∴2mg + m(14²)/2 = 4mg + mv²/2
Solving this you get,
v = 12.52 m/s.
Therefore, speed of roller coaster at point C is 12.52 m/s.