One leg of a right triangle is decreasing at a rate of 555 kilometers per hour and the other leg of the triangle is increasing at a rate of 141414 kilometers per hour. At a certain instant, the decreasing leg is 333 kilometers and the increasing leg is 999 kilometers.