There are 6, you'd think there would be 8 but the answer is actually 6. A diagonal is a line segment that connects to vertices, the two vertices chosen do not count when forming the triangle, two vertices that are adjacent to that chosen vertex are NOT included when forming the diagonal. It's confusing, but I hope this helps. If you have any follow up questions I'd love to answer them.
1) in one minute for first wiil be 1/20
the other 1/30, it means that A paint in one minute 1/20 and B 1/30 then A+B in one minute 1/20 + 1/30 = 3+2/60 = 5 / 60, 5/60 = 1/12
if in one min they make 1/12 then in 12 min they paint all the wall
It looks as though you missed a number, but you would factor out an x or a y to get your answer and subtract the whole thing