Answer:
F = 0.078N
Explanation:
In order to calculate the magnitude of the force on the wire you first calculate the magnitude of the magnetic field generated by the solenoid, by using the following formula:
(1)
μo: magnetic permeability of vacuum = 4π*10^-7 T/A
N: turns of the solenoid = 580
i: current in the solenoid = 36A
L: length of the solenoid = 18cm = 0.18m
You replace the values of all parameters in the equation (1):

Next, you calculate the force exerted on the wire, by using the following formula:
(2)
i: current in the wire = 27A
L: length of the wire that perceives the magnetic field (the same as the radius of the solenoid) = 2.0 cm = 0.02m
θ: angle between wire and the direction of B
B: magneitc field in the solenoid = 0.145T
The direction of the wire are perpendicular to the direction of the magnetic field, hence, the angle is 90°.
You replace the values of the parameters in the equation (2):

The magnitude of the force on the wire is 0.078N