The definition
![f(x)=6](https://img.qammunity.org/2020/formulas/mathematics/middle-school/2kffgwuwjlx5vsvsraxihg64qrty6tghuw.png)
means that f always outputs 6, no matter the input. So, if you want to compute the composition
![(f\circ g)(x)](https://img.qammunity.org/2020/formulas/mathematics/middle-school/n7oad69e4l7g8m7at8fl9libqwpibpg3kx.png)
It means that you want to compute f giving as input the result of g(x):
![(f\circ g)(x) = f(g(x))](https://img.qammunity.org/2020/formulas/mathematics/middle-school/5ind2jzv4ynk387umz0rllgqaaox7eicv7.png)
But no matter the input:
is always 6! So, we have
![(f\circ g)(x) = f(g(x)) = 6](https://img.qammunity.org/2020/formulas/mathematics/middle-school/brspqmm064a7sonpxmtcrpcqdzxcr9g9i0.png)
for every possible x.