There is nothing beyond the working clearances for electrical equipment. Both items can be next to the equipment. There is a working clearance of 30" wide and 36" deep in front. In the 30" wide space, the equipment can be anywhere.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.