Affine planes in certain groups