Answer:
Both genes are X-linked.
Step-by-step explanation:
A female fruit fly with vermilion eyes and normal wings are crossed to a male with normal red eyes and cut wings.
Here you know trait to pay attention to, but you don't know which ones are dominant or recessives.
The F1 progeny consists of females with red eyes and normal wings, and males with vermilion eyes and normal wings.
So, the eye trait switch from female to male, but wing trait continue.
The F2 consists of two types of females:
vermilion eyes, normal wings.
Red eyes, normal wings.
And two types of males:
Vermilion eyes, normal wings.
Red eyes, cut wings.
If all mothers were red eyes and normal wings, and you have all kind of offspring on F2, this tells you it's a X-linked type of gene.