You mean x1245 is meant to be x=1,2,4,5? I'm afraid so. :|
Well, actually there is a space missing there.
x 1245 is meant to be x = {1, 2, 4, 5}.
x135 is meant to be x = {x, 1, 3, 5}. In other words, the second exercise involves a symbolic regression (oh, heck, I guess I'm not actually sure about the second exercise.)
With that kind of posting no wonder I got confused. There is certainly no shortage of submissions on these boards that constitute riddles! (I wish it were not so because I have a very low tolerance for preventable wasted time.)