The answer to your question would be that the sentence that has a correct subject dash-verb agreement is the following one: Neither of those cars gets good mileage. That is, the correct option would be B.
When "neither" is used as a pronoun and as the subject of the sentence or clause (and it's the only subject), it takes a singular form.