Probably easiest to covert 3145 into base 10.....multiply this by 27 and convert this answer back to base 5
3(5)^2 +1(5) + 4 = 84
84 * 27 = 2268 10
To convert back to base 5
2268 / 5 = 453 R 3
453 / 5 = 90 R 3
90 / 5 = 18 R 0
18 / 5 = 3 R 3
3/5 = 0 R 3
Read the remainders from the bottom up to get the base 5 result of 226810 =
330335