Power-ups in racing game

I am working on a school project with unity. I am creating a racing game with various power-ups. Since it is my first game and i do not have any coding background i need some help. I have various objects that i need to power my car up when hit. There is a boost as well as a powerup that takes off some time and etc. Any help would be greatly appreciated

Thank you

For boost I would do:

carSpeed *= 1.1f;
speedTimer = Time.time + 5.0f;

For the “powerup that takes off some time and etc” I’d do something like:

totalTime = totalTime - 5f;

Press Cmd-B to build and you’re all set.