To attack the problem, first write the numbers into its prime factors
2 = 2, 3 = 3, 4 = 2.2, 5 = 5
6 = 2.3, 9 = 3.3, 10 = 2.5, 12 = 2.2.3
15 = 3.5, 18 = 2.3.3, 20 = 2.2.5, 25 = 5.5
30 = 2.3.5, 45 = 3.3.5, 50 = 2.5.5 75 = 3.5.5
So all numbers are consist of 3 prime seed 2,3 and 5
Now replace each seed with 3 symbols, A,B and C
So what we get now is A, B,C,AA,BB,CC,AB,AC,BC,ABB,ACC,BAA,BCC,CAA,CBB, and ABC
There are 12A,12B, and 12C Total symbols, so each line must have 3A,3B and 3C
What we have to do now is
Put A,B,C,AA,BB,CC,AB,AC,BC,ABB,ACC,BAA,BCC,CAA,CBB, and ABC to a 4x4 square table,
so every horizontal, vertical and diagonal line have 3A,3B, and 3C.
If we change Gareth 1st answer with ABC solution,
than replacing ABC with permutation [2,3,5], we can get 6 different answers, one of it is as bellow
[[2, 15, 50, 18], [9, 30, 4, 25], [20, 5, 45, 6], [75, 12, 3, 10]]
to
[[A,BC,ACC,BBA], [BB,ABC,AA,CC], [AAC,C,CBB,AB], [BCC,AAB,B,AC]]
now I change A to 3, B to 2, and C to 5, I get new answer
[[3, 10, 75, 12], [4, 30, 9, 25], [45, 5, 20, 6], [50, 18, 2, 15]]