How to solve everything in Kotlin??

A) create a method that takes a string as a parameter and inverts it.

C) Create a car class that contains Brand, model, year of release and current speed. Use the primary constructor

B) create the main function, and create 4 objects of class car and store them in a vector and print them.