Rule 1: 1. Formation from a plain noun
Remove the tanwīn and add ـِيٌّ: مِصْرُ gives مِصْرِيٌّ, حَرْبٌ war gives حَرْبِيٌّ military, شَرْقٌ gives شَرْقِيٌّ eastern, وَطَنٌ homeland gives وَطَنِيٌّ national. A noun with the article keeps it: اَلْحَيُّ الشَّرْقِيُّ the eastern quarter. Nouns of the shape فَعِيلَةٌ usually lose their ي together with the ة: مَدِينَةٌ gives مَدَنِيٌّ civil, urban, Medinan, قَبِيلَةٌ gives قَبَلِيٌّ tribal (but طَبِيعَةٌ nature keeps it: طَبِيعِيٌّ natural); masculine فَعِيلٌ keeps its ي; and a few short words restore a lost radical: أَبٌ gives أَبَوِيٌّ paternal, أَخٌ gives أَخَوِيٌّ brotherly, سَنَةٌ gives سَنَوِيٌّ annual, نَبِيٌّ gives نَبَوِيٌّ prophetic.
أُصْدِرَ أَمْرٌ رَسْمِيٌّ مِنَ الْحَاكِمِ الْعَسْكَرِيِّ.
uṣdira amrun rasmiyyun mina l-ḥākimi l-ʿaskariyyi
An official order was issued by the military governor.
رَسْمِيٌّ from رَسْمٌ 'rule, official regulation'; عَسْكَرِيٌّ from عَسْكَرٌ 'army'.
تَصْدُرُ الْجَرِيدَةُ الْمَحَلِّيَّةُ كُلَّ صَبَاحٍ وَهِيَ جَرِيدَةٌ يَوْمِيَّةٌ.
taṣduru l-jarīdatu l-maḥalliyyatu kulla ṣabāḥin wa-hiya jarīdatun yawmiyyatun
The local newspaper comes out every morning; it is a daily paper.
يَسْكُنُ عَمِّي فِي الْحَيِّ الْجَنُوبِيِّ قُرْبَ الْمَدْرَسَةِ الْوَطَنِيَّةِ.
yaskunu ʿammī fi l-ḥayyi l-janūbiyyi qurba l-madrasati l-waṭaniyyati
My uncle lives in the southern quarter near the national school.
اَلْمَسْجِدُ النَّبَوِيُّ فِي الْمَدِينَةِ، وَالسُّوَرُ الْمَدَنِيَّةُ نَزَلَتْ فِيهَا.
al-masjidu n-nabawiyyu fi l-madīnati, wa-s-suwaru l-madaniyyatu nazalat fīhā
The Prophet's Mosque is in Medina, and the Medinan sūras were revealed there.
نَبَوِيٌّ from نَبِيٌّ, مَدَنِيٌّ from مَدِينَةٌ.
عُقِدَ الِاجْتِمَاعُ السَّنَوِيُّ لِلشَّرِكَةِ أَمْسِ.
ʿuqida l-ijtimāʿu s-sanawiyyu li-sh-sharikati amsi
The company's annual meeting was held yesterday.