The Brainliest Answer!
Nope. Even though they come from a Carboxylic Acid, the other one is a derivative of it. Coconut oil is a carboxylic Acid, in this case Fatty acid, and the other one is amide, a derivative of carboxylic acid having amino group bonded to carbonyl carbon. 
2 4 2