بنایه مهم is not right but Duo accepts as a correct form!
ه is not ة
And if first word is feminine then following word feminine to
مهم - masculine
مهمة - feminine
Why? The sentence above shows Isim Muannats in Arabic. ( Nouns that indicate the type of woman are marked with a suffix ت ). That is correct in my opinion