Use a COUNTIF() formula to count how many "X" values are in a range, then multiply that 5.

=COUNTIF(A2:G2, "x") * 5