solve percent graph