The sum of first three terms of a G.P. is and their product is 1. Find the common ratio and the terms.