We named:
March to the number of days corresponding to March, 30th 1938 (Gregorian calendar)
January to the number of days corresponding to January, 1st 1388 (Islamic calendar)
December to the number of days corresponding to December, 17th 2008 (Gregorian calendar)
x to the number of days corresponding to December, 17th 2008 (Islamic calendar), que es lo que queremos hallar.
With all this, we have the formula below: