The person travels 4 hrs by plane and 25 hrs by ship and covers the total distance of 1580 miles. If plane's speed would have been 1/2 of actual speed and ship's speed 1/4 greater than actual speed, distance of 1315 miles would have been travelled. Determine speeds of plane and ship.