Amira is twice as old as her cousin Pam. Nine years ago, their age combined ages was 18. What are their present ages?

Plzzzz help Very Important