Putting variable behind each other

If you simply want to print a followed by b the void loop should be:

Serial.print(a);
Serial.println(b);
delay();

This would make it a 22 if your vairables are 2 and 2; it would be a 35 if a is 3 and b is 5, etc.