Some east tasks solved using graphs