Ow can we tell if we are Doing the right thing”? Discuss with reference to the philosopher Kant.

The essay question is: How can we tell if we are Doing the right thing”? Discuss with reference to the philosopher Kant.
Please make sure you refer to the attached files. The essay MUST be based on Kants ideas and principles that are in the book. Also, please make sure you explain how we can tell if we are doing the right thing in general as well as the reference to Kant.
Thank you very much.