Pigtail the 500mm, i.e - just put a coil in the flexi if it's too long. It's a hell of a position to have the cold feed for the toilet tho, even if you put a left bend on that, then 100mm of clipped pipe going left along level with the top of the skirting, until its more under the cistern