Given :
Height of wall, h = 24 inches.
Width of wall , w = 45 inches.
To Find :
The largest television that Sheree can buy.
Solution :
Let, length of diagonal to the wall is x.
So,

Therefore, the largest television that Sheree can buy is 51 inch.
Hence, this is the required solution.