I have put the question in the figure below:
EDIT The question put next to the figure is:
How do I make script_A1 import a function
Put this at the top of script_A1;
from folderB.script_B2 import YourClass as your_class