[tex]\text{ Answer: There are }12\text{ gray keys.}\\\\\text{ there are }22\text{ black keys.}[/tex]
Explanation:
Since we have given that
There are 6 gray keys for every 11 black keys .
So, the ratio will be 6:11
Let the number of gray keys be 6x
Let the number of black keys be 11x
Now, according to question,
[tex]11x=2\times 2x-2\\\\11x=12x-2\\\\11x-12x=-2\\\\-x=-2\\\\x=2[/tex]
so,
[tex]\text{ there are }6x=6\times 2=12\text{ gray keys.}\\\\\text{ there are }11x=11\times 2=22\text{ black keys.}[/tex]