When 18 boys joined a group of why students, the ratio of boys to girls in the group became 4 : 5. Write an algebraic expression for the number of girls in terms of Y.