How can I name compounds with two functional groups?
You need to know which functional group has priority or is
"more important". You can look up here all functional groups in organic compounds:
For example, if you have "ketone" and "alcohol", ketone has the priority and alchohol is going to be suspstituent with "hydroxy" prefix.