Who is right ?

Me and my sister was having a debate on weather Motrin and Ibuprofen is the same or not which it is and I proved it to her but then she said Motrin Ibuprofen is different from the Ibuprofen the doctor gives you but isn’t it still the same??