Your coin is an Afghanistan, 2 Afghanis, KM# 1045 1383(2004). The Solar Heijira is used. Iran is the only other country, to my knowledge, using this calendar. The building is simply a depiction of a mosque.
Sorry, can't help with the legend on the obverse.
Sorry, can't help with the legend on the obverse.