Is there a way to solve for a system of multiple equations with multiple variables and variables on both sides in java

Lets say im given three (or more) equations in an array list or array like so...
4A=1C
10A=2D
2B=2C+1D

and im allowed to set one variable equal to 1 (lets say A)
is there a java function or quick/simple aproach to get the values of each variable as whole numbers.
(please help)

Would you mind showing me what that looks like for my example

Sorry but I can't know how your mind works. Most of folk that code write down the steps they took to solve the problem then those steps are turned into code. Since you are the one that will write the code from your steps, I can't do that for you.

But if you want to use some library for linear equations then you do more research into that and find a library you can use.