Please refer the project in a stackblitz here. As can be seen, I have reactive form with controls as firstNumber, …