From the Arizona Department of Weights and Measures: Among 31 inspections sat a NAPA Auto Parts store, 88% failed. X= ?

What does X stand for? If number that failed, X = 31 * .88. If the number that passed, X = 31 * .12.