A receding contact problem between a functionally graded layer and two homogeneous quarter planes