I agree with Ruby Red:"you have to use the preposition 'by' twice".