How do I play the eighth notes with the whole numbers? What does that mean?
I'm assuming that this is a piano piece, the staff is for the left hand, and that you don't have freakishly large hands.
In that case the answer is simple. The notes don't add up to a whole bar because there are two simultaneous voices notated, and the only way you can keep the organ point sounding while executing the upper voice is to use the pedal.