Answer: 
Step-by-step explanation:
You can reduce the fractions, then:



Rewrite them as following:

If you subtract the first number and the second number, you obtain:

If you subtract the second number and the second number, you obtain:

Therefore, you must subtract
and
to obtain the number asked. Then, this is:

The calendar obviously has an integral number of years and months in 400 years. If it has an integral number of weeks, then it will repeat itself after that time. The rules of the calendar eliminate a leap year in 3 out of the four century years, so there are 97 leap years in 400 years. The number of excess days of the week in 400 years can be found by ...
(303·365) mod 7 + (97·366) mod 7 = (2·1 + 6·2) mod 7 = 14 mod 7 = 0
Thus, there are also an integral number of weeks in 400 years.
The first day of the week is the same at the start of every 400-year interval, so the calendar repeats every 400 years.
We know that we are solving for y.
This is a step by step procedure to get the value of y.
First: Move all terms to the left side and set equal to
zero.
Second: Then set each factor equal to zero.
The application is:
Given: py+7=6y+q
-6y -7 -6y -7 = 0
(p-6)y = q-7
divide both sides by p-6
y=(q-7)/(p-6)
Answer is y = (q – 7) / (p – 6)
Answer:
Step 1: Given
Step 2: Add 6 on both sides
Step 3: Multiply 7 on both sides
Step 4: Divide by 4 on both sides