The following problem has appeared: it is required to make such a construction (picture attached), but I cannot understand how this can be done. Help me please.
UPD: Perhaps not quite correctly stated the essence of the issue. The figure shows not a gradient, but two different blocks, between which there is a distance
