What is the magnitude of the resultant force, in newtons, acting on an object that has two forces acting in the same direction having magnitudes of 15 newtons and 25 newtons and a third force acting perpendicular to the first two having a magnitude of 30 newtons?