Let a + ar + ar^2 + ar^3 + ... be an infinite geometric series. The sum of the series is 3 The sum of the squares of all the terms is 4 Find the common ratio.