Determining Arithmetic Sequences from Linear Functions