Composition of Euler Scaling Functions with the Optimization Method for Fractional Hyperbolic and Reaction-Diffusion Equations with Nonlocal Boundary Conditions. (19th May 2022)