Given that the distance from the wire is r = 30 cm = 0.3 m
The magnitude of the magnetic field is

We have to find the magnitude of the current.
The formula to find the magnitude of the current is

Substituting the values, the current will be

Thus, the magnitude of current is 60 A