Student or Learner
I read that we say "Three pound note, three year old etc". So why "A girl who is seven years old is equal to-A seven year old girl not seven years old".
I am not a teacher.
Your question is illogical. You have given examples of exactly the same thing as the supposed problem you are raising.
'We say three year old...so why a seven year old girl not seven years old?'