the first and last terms of a geometric progression are 2 and 2048 respectively. the sum of the series is 2730. find the number of terms and the common ratio​