B. 1>2
2>4
3>6
4>8
Step-by-step explanation: We are given mapping diagram of function Q(x).
2>1
4>2
6>3
8>4
We need to find the mapping diagram of inverse of Q(x).
Note: The inverse function switches the x and y mapping to y and x mapping.
(x,y) would become (y,x) or (a,b) would become (b,a).
So, each mapping would just flip and we get
1>2
2>4
3>6
4>8
Which is the mapping in option B.