I honestly think the Cardinal will be fine in the 10 gallon as they are pretty stationary, it would probably be the only fish in the tank though since they get decent size.
I agree with mgdmirage. Cardinal's don't move around much and it probably would be fine. I just hate to see a fish without a friend. Seems like solitary confinement.