Having a bit of trouble when it comes to these questions, any help is very much appreciated

Q1. Programming languages such as miranda and Q use the notations [a..b] and [a,b..c] to represent finite sequences. For example, [1..5] is the sequence{1,2,3,4,5} and [1,3..11] is the sequence {1,3,5,7,9,11} (ie the 3 is the second term) For each of the notations [a..b] and [a,b..c], give a formula for the number of terms n of the sequence in terms of a,b and c.

Q2. (a) Are the terms of the sequence Un = {log2,log2^2,log2^3} in arithmetic or geometric progression? What about Vn={(log2),(log2)^2,(log2)^3}?

(b) Find the sum of the first 10 terms of both Un and Vn.