function solution(x, n) { let answer= [x] for (let i=1; i<n; i++) { answer.push(x+x*i) } return answer }
function solution(x, n) { return Array(n).fill(x).map((v, i) => (i + 1) * v) }