Try this in your total points column:
=(SUM(D3:O3)*5)+(SUMIF(P3:W3,">2",P3:W3)*-2)