Solved Match Each Graph With The Corresponding Function