She spent Rs (x-50) everyday and extended her holiday by 10 days. Calculate x?