How much experience do you have? Generally if you have to ask (about this matter anyways) you do not have enough knowledge and experience to keep them healthy together. It can be very difficult to recognize the signs of stress when two are housed together (except in extreme cases/big temperament clashes.) Plus you will want about tow more basking spots, lots of UVB, and at least twice that much room if you were to even attempt. Even then you probably want even more room to make sure you have the best possible chance at keeping them together, especially if it's your first time.