First, solving for n at given conditions.
P1 * V1 = n1*R*T1
n = P1 * V1
R * T1
n = 100 atm * 0.25 L
8.206 x 10-2 L atm K-1 mol-1 * 323.15 K
n= 0.9427669206
Now, using that n to solve for T at the second conditions.
P2 * V2 = n * R * T2
T2 = P2 * V2
n * R
T2 = 200 atm * 0.087 L
0.942 mol * 8.206 x 10-2 L atm K-1 mol-1
T2 = 224.9124 K
Algebra, step by step (not the fastest or easiest way,but I purposely do that so you can see the basics of algebra applied multipul times):
P1 * V1 = P2 * V2
T1 T2
First, multiplying both sides by T2
P1 * V1 * T2 = P2 * V2 * T2
T1 T2
Which is
P1 * V1 * T2 = P2 * V2
T1
Multiply both sides by T1
P1 * V1 * T2 * T1 = P2 * V2 * T1
T1
Which is
P1 * V1 * T2 = P2 * V2 * T1
Now, divide both sides by P1 * V1
P1 * V1 * T2 = P2 * V2 * T1
P1 * V1 P1 * V1
Which is
T2 = P2 * V2 * T1
P1 * V1
T2 = 200 atm * 0.087 L * 323.15 K
100 atm * 0.25 L
T2= 224.9124 K
Notice how your units cancel, leaving you with just K on both sides.
T2 (K) = 200 atm * 0.087 L * 323.15 K
100 atm * 0.25 L
Conversely, the same thing is done (much faster) if you first invert both side:
That is,
P1 * V1 = P2 * V2
T1 T2
Goes to.
T1 = T2
P1 * V1 P2 * V2
And then you just have to multiply both sides my P2 * V2.
Both ways have on thing in common, you can do anything you want to it, as long as you do it to both sides. This is just algebra, take some time and and study your algebra book, or check out those sites I linked you. This is some very basic algebra, you need to get the hang of it.