You don’t have to learn them to the level you’d need to program directly in those languages. The most important programming knowledge is basic flow control - what’s an If, a Do While, a For Each, etc.
These concepts are basically the same in every language. Once you understand those things, the specifics you need to know to do UiPath RPA will come from just doing it.
An example…you need the basic programming knowledge of the difference between a string and an integer, so that you know you have to convert an integer to a string in order to display its value. And all that requires is this basic vb.net: myIntegerVariable.ToString