That works, but it might not do what you are intending. I'm not sure what you actually intend. This creates two overlapping gradients that cause the top left corner to be faded. If your goal is to have them repeat, you must set mask sizes. If your goal is to have solid stripes, you must specify both the start and end for the stops.
My intention is to have two separate linear gradients and the corner isnt that important, they can overlap there but i dont want the combination of the masks, i want both i tried adding