Just answer the questions. They shouldn't be that hard. How to solve every question: Problem 1: It is known that (the inradius of a triangle)*(it's semi-perimeter)=(it's area). We can find the area of the triangle using Heron's formula. Then, we can divide it by the semi-perimeter, which is half of the perimeter of the triangle. Then, we have the inradius of the triangle. Problem 2: To solve this problem, we can use a simple application of Vieta's Formulas on higher degree polynomials. Notice that (a+1)(b+1)(c+1) expands to (abc)+(ab+bc+ca)+(a+b+c)+1. We can then find the value of each term in parentheses in the expression above, giving us the answer. Problem 3: If there are a white marbles and b black marbles, we know that the number of ways to get two of the same color marbles is (a choose 2)+(b choose 2). Then, we can divide this value by (a+b choose 2), as that is the total number of cases. Then, we will have the correct answer.
I have spent around 2 hours on this so far, mostly from thinking about what the problems should be, using "join" way too many times, and trying to make the answers to the questions only using what Scratch has. Credit to @player46094's Calculation project for giving me this idea. All of the code was made by me.