Hi danish. Yes its true that your solar 10th house is the sign of Virgo, because if we count the Sun's sign (the first solar house) as Sagittarius, the 10th house becomes (or at least coincides with) the sign of Virgo. This is largely how Sun-sign astrology is put together.
But in your natal chart, the first house begins at the ascendant (or in the case of the Whole Sign house system, the first point of the ascending sign). So in your natal chart, you first house cusp is in Leo because you have the sign of Leo rising, and the Sun's position in your natal chart, and perhaps sometimes the Sun's transit position, is relevant to your first house - or, as we say, your first house is ruled by the Sun. And if your second house cusp is in Virgo, then this house is ruled by Mercury. If you want to look at the astrology of your life properly, then you need to stick with your natal chart and forget about the solar houses used in sun sign astrology - not because the solar houses are meaningless, but because their significance is negligible compared to the information provided by your unique natal chart.