Concept:The sum of two powers with a constant product can be solved by equating each term to the same value.Explanation:We have 3x−1+33−x=6.The product of the two terms is (3x−1)(33−x)=3(x−1)+(3−x)=32=9.Their sum is 6 and product is 9.The only pair of positive numbers with sum 6 and product 9 is 3 and 3.Thus, 3 and 3x−1=3.Since 33−x=3, we get 31=3 and x−1=1.Both give 3−x=1.Now compute x=2 with 2x−1+23−x:x=2.Answer:22−1+23−2=21+21=2+2=4