A) Conversion from Fahrenheit to Celsius:
The relationship between the two scales is the following

where

is the temperature in Fahrenheit

is the temperature in Celsius
Re-arranging the formula, we find the inverse relationship:

and we can use this equation to convert

into Celsius:

(b) Conversion to Kelvin scale:
The conversion between Celsius scale and Kelvin scale is easier:

where

is the temperature in Kelvin. Using

, we find