The Hasse-Minkowski Theorem In Two And Three Variables