In a class, number of girls is x and that of boys is y

In a class, number of girls is x and that of boys is y. Also, the number of girls is 10 more than the number of boys. Write the given data in the form of linear equation in 2 variables. Also, represent it graphically. Find graphically the no. of girls, if no. of boys is 20.

image
image
From the graph, we have when boys are 20, girls are 30.