
now to make it max heap it take only 2 swap and 4 comparision which is nothing but its height.
Let's level of root node is 0.
Swap: in the worst case, on every level from level-1 ::: 1 swap.
Comparission : in the worst case, on every level, 1 comparission between siblings, 1 comparission with the node from upper level.
As, height of the tree is log n, at every level constant amount of work, so $\log n$ time needed.
Option A is answer.