Meaning of the Sanskrit Word: agam

  agam—difficult to attain    SB 4.12.32
  agām—I had sexual intercourse.    SB 6.2.27

Can't find any compound Sanskrit words containing agam.