Answers to online calligraphy exam

Suppose there are x people in both groups, then

Only those who take part in art are 26-X.

Only those who take part in calligraphy are17-x.

Those who only participated in art+those who only participated in calligraphy+those who participated in both groups =30.

26-X+( 17-X)+X=30

X= 13

There were 13 people in both groups.