The yearly income of a family was Rs. 5,00,000. Tax was exempted upto Rs. 1,50,000. If the tax levied for the first Rs. 2,00,000 was 10% and for the rest 15 %, find how much tax will be paid in a year?(a) find the total tax paid.(b) find the net income