Equal masses of two liquids X and Y, whose temperatures are 30 degrees Celsius and 80 degrees Celsius respectively, are mixed such that the temperature of the mixture is T. If the specific heat capacity (SHC) of X is twice that of Y, find the value of T.