Algebra Examples

Graph (3,1) and m=2
I am unable to solve this problem.