The goal of this clinical research study is to find the highest tolerable dose of the combinations of pazopanib and either lapatinib or trastuzumab that can be given to patients with advanced cancer. The safety of the drug combinations will also be studied.