A Solution of the Direct and Inverse Potential Problems for Arbitrary Cascades of Airfoils: Searching Inside