what does an attorney general do brainly