Kawan buys some protein bars at $0.90 each and bottled water at $.70 each for a group hike.

Kawan buys some protein bars at $0.90 each and bottled water at $.70 each for a group hike. He buys twice as many bottles of water as protein bars. If he spends $46 in total, how many bottles of water and protein bars does he buy? Let X = the number of protein bars.