Solution of functional difference equations from behavioral theory