This question is from Kyoto university $2009 $ math exam .Although many of the question have long answer with explanation , the following question has not except for short answer. ($2009$-spring final exam question $3$ math $234$)
Let'say that m and n be real numbers and $m \neq0$ , the function $\gamma_{m,n}:R \rightarrow R$ is defined by $\gamma_{m,n}(x)=mx+n^2$. Let $\Gamma=\{\gamma_{m,n}:m \in R-\{1\},n \in R \}$ the sel of all functions of this type. Show that whether $\Gamma$ is a group under the composition of functions or not.
My work : I know that there are four condition to be a group such that clousure , associavity , identity and inverse. In these question , i said that it is a group but answer key says that it is not a group.
I think that answer key is wrong and it is a group. Is my answer true . If not ,can you say me why it is not a group