Write variable expressions for arithmetic sequences