Step 1: Turn the table into two simple ratios.
For each rock, work out how much of the feldspar is alkali feldspar rather than plagioclase, and note the quartz percentage separately, since the QAPF diagram is really just these two numbers plotted against each other.
Step 2: Work rock X.
X has $65$ parts alkali feldspar against $20$ parts plagioclase, out of $85$ total feldspar. That is about $76\%$ alkali feldspar in the feldspar mix, a strongly alkali feldspar dominated rock. Its quartz sits at $15\%$, a modest amount, enough to earn the "quartz" prefix but not enough to call it a true granitoid. That combination names it quartz syenite.
Step 3: Work rock Y.
Y has $15$ parts alkali feldspar against $60$ parts plagioclase, out of $75$ total feldspar, so only about $20\%$ alkali feldspar, meaning plagioclase clearly dominates. Its quartz sits higher at $25\%$, which is squarely in the granite family range. A plagioclase dominated feldspar mix with granite range quartz is the textbook granodiorite.
Step 4: Compare against the choices.
Only the pairing "quartz syenite for X, granodiorite for Y" matches both ratios worked out above; the other three choices mismatch either the quartz amount or the feldspar ratio for at least one rock.
\[
\boxed{\text{X - Quartz syenite; Y - Granodiorite}}
\]