Thank you to any who have looked at this problem.
I finally found the text reference. I'll show how to do the problem. The problem can be done similarly, but I have yet to manage to construct any useful basis functions for it.
The relevant equation to find functions with symmetries under a particular irreducible group representation is
where the sum is over the group elements, is the character of the group element R, is the operator (corresponding to the group element R) that acts in function space, is a function, g is the order of the group, and n is the dimension of the representation under study. The superscript indicates that we are working in the th representation.
So applying this to the A representation of we get
So the A representation leads to basis functions that are even.
Applying this to the B representation of we get
So the B representation leads to basis functions that are odd.
Thus any function can be represented by the sum of the basis functions over all representations. In this case that means
ie. any function may be written in terms of the sum of an even function and an odd function.
This process can be applied to any group, though the interpretation of the basis functions can be a bit hairy for certain group symmetries.