Oblicz x jeśli podane liczby tworzą ciąg arytmetyczny: 1, x², x²+2x+2