On extremals for a Radon-like transform