$$(\lambda x. x \text{ } x ) ( \lambda x . x \text{ } x )= (\lambda x. x \text{ } x) ( \lambda x . x \text{ } x)$$
I am a bit confused on how this composition was done. When I do it, I get:
$$ \lambda x. (\lambda x. x \text{ } x) (\lambda x . x \text{ } x)$$
On what basis do I drop the exterior most $\lambda x.$?