Doubt by Izna khan

sir in 2nd question..why should we divide the equation by 2 ?